firebase-kotlin-sdk icon indicating copy to clipboard operation
firebase-kotlin-sdk copied to clipboard

Add [Query].[count()] to [FireStore] for [Android/IOS]

Open baseemomar opened this issue 9 months ago • 2 comments
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.

baseemomar avatar Jan 25 '25 08:01 baseemomar