-
Notifications
You must be signed in to change notification settings - Fork 7
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
Provide .exists on cursors #46
Comments
It would be also good to have Probably this could be just a wrapper around |
This is where a database like RethinkDB is very good because basically it allow you to subscribe to any query. So for instance if you subscribe to a I understand that this suggestion is about minimongo but I just wanted to underline this feature of RethinkDB here. So about your suggestion itself, do we really need a |
You are right. Much better than Maybe the question is more: we should have reactive queries on the server as well. |
One thing I am missing (from Django) is
.exists()
query, which would make an optimized query and tell you if the query matches any document. Doing.count()
instead is very bad because you do not really need/want precise number (and counting a precise number is not very cheap in MongoDB).Related: meteor/meteor#1504
The text was updated successfully, but these errors were encountered: