Closed giorgio79 closed 7 months ago
It is available and was released on Dec 1. https://github.com/googleapis/google-cloud-php/pull/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: https://github.com/googleapis/google-cloud-php/blob/main/Firestore/src/Aggregate.php#L66-L116
Are aggregation queries supported? :) ChatGPT said this php library does not :P
https://firebase.google.com/docs/firestore/query-data/aggregation-queries#dart