Reputation: 75
I'm using this plugin for my ReactJS + Capacitor project: https://www.npmjs.com/package/@capacitor-firebase/firestore#getcollection
However, I don't see any equivalent of getCountFromServer in their documentation. Does any of you have an idea if there's any workaround to achieve the same result? I would like to get the number of documents that fulfill certain criteria, but without incurring the cost of reading them all.
I'm a total beginner with that, so I'll really appreciate your patience and help ;) Thank you!
Upvotes: 0
Views: 33