Skip to content
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

count() method for the TinyMongoCollection class #46

Merged
merged 1 commit into from Feb 12, 2019

Conversation

ramuta
Copy link
Contributor

@ramuta ramuta commented Feb 12, 2019

As per MongoDB specification, the Collection model also has the count() method (collection.count()), which is the same as collection.find().count().

See the reference manual: https://docs.mongodb.com/manual/reference/method/db.collection.count/

@ramuta
Copy link
Contributor Author

ramuta commented Feb 12, 2019

Should I also create an issue, or is PR enough?

@schapman1974 schapman1974 merged commit cfca308 into schapman1974:master Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants