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
Andreas Sinz
05/08/2018, 11:19 AM
in order to use
COUNT()
, you need
GROUP BY
(seems like mysql allows it without grouping?), not sure if this solves your problem
o
oday
05/08/2018, 11:21 AM
but regardless of the query
oday
05/08/2018, 11:21 AM
why is the subscribe() being called multiple times?
oday
05/08/2018, 11:21 AM
why is the query sort of like pushing out results constantly
oday
05/08/2018, 11:21 AM
and of the same value the results are being pushed out