firebase-admin-java icon indicating copy to clipboard operation
firebase-admin-java copied to clipboard

[FR] Count documents in collection

Open viktoryoo opened this issue 1 year ago • 2 comments

I'm frustrating with the inability to count my documents in a collection. it is described here that in Java you can count the documents when you get the CollectionReference and execute the count().get().get().getCount() . I'm using version 3.9.0 of com.google.cloud:google-cloud-firestore and there in CollectionReference I don't see any implementation of count(). Also here the class doesn't have the count() method aswell.

So I have a question - will count() be available soon? Also is there any workaround how I can count my documents in my collection? Thank you.

viktoryoo avatar Jan 31 '24 11:01 viktoryoo

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar Jan 31 '24 11:01 google-oss-bot