-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhancement: find().count() #313
base: main
Are you sure you want to change the base?
Conversation
first attempt at a PR here! There was not an obvious way to implement this much needed feature. Currently, this implementation is not working for queries where multiple find parameters match the same record. It will count duplicate matches twice. So the current implementation works only for queries with single parameters and the base |
.find().count()
will return a count of the number of matching records for a query.This returns only the number of results without needing to collect the records.
solves #283