Open Ganeshguru5 opened 1 month ago
Hello 👋, to help manage issues we automatically close stale issues.
This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?
This issue will be closed in 15 days if no further activity occurs.
Thank you for your contributions.
Sum in aggregation of @react-native-firebase/firestore
In the firebase documentation. They detailed that they have the aggregation feature to sum a particular attribute of a document. But i cant found this method in @react-native-firebase/firestore. Instead everyone reccommends to fetch all data and sum the value using array-reduce method. I dont want to get 10 or 100 documents to obtain a single value. Those reads are unwanted.