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

Add support for mongoose 'countDocuments' function #42

Conversation

sepulvedablanco
Copy link
Contributor

hello @alonronin

I have created the PR to support the 'countDocuments' function of mongoose since the 'count' function is deprecated.

https://mongoosejs.com/docs/api.html#model_Model.countDocuments

So we can close the issue that I opened:
#41

Kind regards

@alonronin
Copy link
Owner

hi thanks for the PR, please add to the readme the new operator

@alonronin
Copy link
Owner

I accepted PR #43 and close this one as it also includes this PR.

@alonronin alonronin closed this Oct 31, 2018
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.

2 participants