mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Short path for {_id} selectors (!).
This commit is contained in:
@@ -1200,7 +1200,7 @@ LocalCollection._selectorIsIdPerhapsAsObject = selector => {
|
||||
if (LocalCollection._selectorIsId(selector))
|
||||
return true;
|
||||
|
||||
return LocalCollection._selectorIsId(selector && selector._id) && Object.keys(selector).length === 1;
|
||||
return LocalCollection._selectorIsId(selector && selector._id);
|
||||
};
|
||||
|
||||
LocalCollection._updateInResults = (query, doc, old_doc) => {
|
||||
|
||||
Reference in New Issue
Block a user