Provide count() method in Stitch db.collection.find()
D
Darren Demicoli
Currently there is no way of determining the number of documents that were returned prior to actually consuming all the documents (by using .toArray() or iterating through .next()). It would be really helpful to provide a count() method that specifies the number of documents in the result.
Drew DiPalma
Hi Folks!
As part of our upcoming re-brand of "Stitch" to "Realm" we'll also be migrating our feedback forum and joining the rest of MongoDB at feedback.mongodb.com – as part of that transition, we'll be shutting down this forum. We're still keeping track of this feedback and all of the related comments/discussions, but have only migrated feedback with 5+ votes at this time. If you would like us to continue to track this item in the new forum please let us know.