Add support for countDocuments #926
mhdzumair
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, i see that the model doesn't have function for countDocuments as in the mongo. According to mongo doc, https://www.mongodb.com/docs/manual/reference/method/db.collection.count/#inaccurate-counts-without-query-predicate
I haven't seen any inaccurate results, however I felt like a bit of difference in response time when using the below code. I'm not 100% about the benchmark due to using external DB through internet.
Beta Was this translation helpful? Give feedback.
All reactions