estimatedDocumentCount() doesn't accept filter #14820
kunalindoliya
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Since version 8, support for count() function has been removed. Is there any alternate way to count document with query ?
countDocuments() does accept the query but it does collscan if indexes are not present.
Do we have an efficient way of getting count with the query filter ?
Beta Was this translation helpful? Give feedback.
All reactions