firebase-kotlin-sdk
firebase-kotlin-sdk copied to clipboard
Add [Query].[count()] to [FireStore] for [Android/IOS]
trafficstars
Add support for thecount()function in Query to retrieve the count of documents matching a query without fetching the entire data. This will return an AggregateQuery which can be executed using get(AggregateSource). This feature significantly reduces network usage and Firestore read costs, especially for large datasets.