-
Notifications
You must be signed in to change notification settings - Fork 92
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
Collection.count deprecation warning #12
Comments
@Gustav0ar $where will not work if we don't use this.count() |
@Gustav0ar There is no other option I guess, we need to remove the support for $where. |
That's a shame, but fortunately $where isn't a requirement, just a helper for those who likes to use SQL syntax |
@Gustav0ar New version has been updated with the fix removing the $where support. |
Do you plan to fix the deprecation warning for using the this.count?
DeprecationWarning: collection.count is deprecated, and will be removed in a future version. Use collection.countDocuments or collection.estimatedDocumentCount instead
I'm using version 1.0.19
The text was updated successfully, but these errors were encountered: