-
Type: Bug
-
Resolution: Duplicate
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
ALL
If you have a document with the property name "query" in it, queries with $ne will not work.
Example:
db.coll.insert({ query: 'foo' })' db.coll.findOne({ query: { $ne: 'bar' } });
Exact equality searches work:
db.coll.findOne({ query: 'foo' });
- duplicates
-
SERVER-9812 User query is interpreted incorrectly if the first field is "query"
- Closed