javascript - How to count the number of children in firebase when the data is too big? -


i typically use

var threadnum = 0 ref.child('threads').once('value',(snapshot)=>{   threadnum = snapshot.numchildren();   console.log('threads', threadnum); },(err)=>{   console.log(err); }); 

to number of threads firebase guess there way many threads got error: too_big: data requested exceeds maximum size can accessed single request.

what number of children in such situation?


Comments

Popular posts from this blog

Sort a complex associative array in PHP -

vb.net - How to ignore if a cell is empty nothing -

recursion - Can every recursive algorithm be improved with dynamic programming? -