react-firebase-hooks icon indicating copy to clipboard operation
react-firebase-hooks copied to clipboard

Enable support for query count

Open Rohitbels opened this issue 3 years ago • 2 comments

Count documents with aggregation queries is now supported https://firebase.google.com/docs/firestore/query-data/aggregation-queries.

can we add support for the same,

useCollectionCount?????

I can work on this

Rohitbels avatar Nov 16 '22 14:11 Rohitbels

@Rohitbels by all means, if you'd like to work on this then please feel free to submit a PR

chrisbianca avatar Nov 16 '22 14:11 chrisbianca

@chrisbianca I have made the changes but not sure how to test.

I tried using yarn link for local testing but got some errors.

How do you dev test?

Rohitbels avatar Nov 20 '22 08:11 Rohitbels