Getting the collection count in Firestore just got much easier (and cheaper!) 🔥
Aggregate queries work like normal queries.
But they return an AggregateQuerySnapshot
that contains metadata (such as count), instead of actual documents. 🧮
Found this useful? Show some love and share the original tweet 🙏
Previous | Next |
---|---|
How to use the new Riverpod Generator package | Update packages with the Version Lens VSCode extension |