why does line 6 get called multiple times? <https:...
# codereview
o
why does line 6 get called multiple times? https://pastebin.com/tz0gkZrg many many times first when I insert 1 row and the count is 1, it gets called twice, and then after that the calls just keep increasing pastes the count 6 or 10 times
a
in order to use
COUNT()
, you need
GROUP BY
(seems like mysql allows it without grouping?), not sure if this solves your problem
o
but regardless of the query
why is the subscribe() being called multiple times?
why is the query sort of like pushing out results constantly
and of the same value the results are being pushed out
10 times of
4
count
a
i don't know, I haven't used Rx/that ORM yet