0

I'm using Swift&Firebase. Due to the changes in Firebase the old numChildren approach does not work.

I need a way to count the children of a particular node of my Firebase database without downloading the whole data.

Ralph
  • 1
  • 1
  • There is no way to count the number of children (with the iOS SDK) of a node without downloading that node. This has been covered quite a few times before, likely better than we'll do now. I'll find a dupe. – Frank van Puffelen Oct 03 '16 at 21:48
  • See http://stackoverflow.com/questions/26497677/how-to-keep-track-of-children-count-in-firebase, http://stackoverflow.com/questions/32277082/getting-numchildren-for-large-data-sets, http://stackoverflow.com/questions/38443421/how-to-get-size-of-an-element-list-in-firebase-without-get-it-all/38444523#38444523, http://stackoverflow.com/a/23132570/209103 – Frank van Puffelen Oct 03 '16 at 21:53

0 Answers0