You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Which shouldn't be happening. This only happens on collections that have startCaching() on (e.g. Meteor.users.startCaching()) in the server code.
As long as there's an _id that matches, it doesn't matter what other fields there are, the findOne method returns the document. This is not the case for find, which works as expected.
This unexpected behaviour of the findOne method only happens on the server for collections with caching started; it works as expected on the client.
The text was updated successfully, but these errors were encountered:
On the Mongo console:
Which is expected. But in the Meteor shell and in server side app code:
Which shouldn't be happening. This only happens on collections that have
startCaching()
on (e.g.Meteor.users.startCaching()
) in the server code.As long as there's an _id that matches, it doesn't matter what other fields there are, the
findOne
method returns the document. This is not the case for find, which works as expected.This unexpected behaviour of the
findOne
method only happens on the server for collections with caching started; it works as expected on the client.The text was updated successfully, but these errors were encountered: