-
-
Notifications
You must be signed in to change notification settings - Fork 165
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
FilesCollection.findOne(null) should return null #210
Comments
Agree, will add to next release |
Hi, thank you for your update! Here is the behaviour of
However, FilesCollection now works as follows.
|
I suspect that it is caused by the difference between JavaScript (ES2015) and CoffeeScript. |
Although
Mongo.Collection.findOne(null)
always returnsnull
,FilesCollection.findOne(null)
returns a document.I feel it's confusing, so I would propose that
FilesCollection.findOne(null)
should returnnull
.The text was updated successfully, but these errors were encountered: