Details
-
Bug
-
Resolution: Duplicate
-
Major - P3
-
None
-
3.0.4
-
None
-
ALL
-
QuInt 8 08/28/15
Description
These two queries return a different result (executed in the mongo shell):
> db.objects.find({ "_id" : { "$ne" : ObjectId("55dda2e17da396655548870b") } }).count() |
139
|
> db.objects.find({ "_id" : { "$ne" : { "$oid" : "55dda2e17da396655548870b" } } }).count() |
140
|
The first one is correct and the second - wrong - it also returns the object with that ID. Am I missing something or is this a bug?
Attachments
Issue Links
- duplicates
-
SERVER-6813 Shell support for Extended JSON
-
- Closed
-