-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Are Firestore aggregation queries supported? (count, sum etc) #1955
Comments
It is available and was released on Dec 1. googleapis/google-cloud-php#6786 |
Much appreciated! Could we get some php samples pls here? https://firebase.google.com/docs/firestore/query-data/aggregation-queries |
Yes. We are discussing it internally. Will be working on it. Can't provide an ETA at the moment though. |
Found a sample in the comment here https://github.com/googleapis/google-cloud-php/blob/main/Firestore/src/AggregateQuery.php but I am getting 0 in my own tests. Will wait for sg official on that page :P ` * Example:
|
Here are a few examples to get you started in the meantime: |
Are aggregation queries supported? :) ChatGPT said this php library does not :P
https://firebase.google.com/docs/firestore/query-data/aggregation-queries#dart
The text was updated successfully, but these errors were encountered: