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
Post a Comment