Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 @react-native-firebase/firestore Need Sum in aggregation method #8027

Open
Ganeshguru5 opened this issue Sep 19, 2024 · 2 comments · May be fixed by #8115
Open

🐛 @react-native-firebase/firestore Need Sum in aggregation method #8027

Ganeshguru5 opened this issue Sep 19, 2024 · 2 comments · May be fixed by #8115
Labels
Keep Open avoids the stale bot Needs Attention type: enhancement Implements a new Feature

Comments

@Ganeshguru5
Copy link

Ganeshguru5 commented Sep 19, 2024

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.

Copy link

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.

@github-actions github-actions bot added the Stale label Oct 17, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 1, 2024
@mikehardy
Copy link
Collaborator

This was one of the major feature enhancements of firestore in the last long while, I think it's still a valid request as an API gap

@mikehardy mikehardy reopened this Nov 1, 2024
@mikehardy mikehardy added Keep Open avoids the stale bot and removed Stale labels Nov 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Keep Open avoids the stale bot Needs Attention type: enhancement Implements a new Feature
Projects
None yet
2 participants