Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
None
-
None
-
Minor Change
-
ALL
Description
Not sure if this is intentional or not.
Setup:
> db.z.drop()
|
true
|
> db.z.insert({})
|
> db.z.insert({a:null})
|
> db.z.insert({a:undefined})
|
2.4:
> db.z.find({a:null})
|
{ "_id" : ObjectId("521bc5133f824429a66880d6") }
|
{ "_id" : ObjectId("521bc5153f824429a66880d7"), "a" : null }
|
2.5:
> db.z.find({a:null})
|
{ "_id" : ObjectId("521bc5133f824429a66880d6") }
|
{ "_id" : ObjectId("521bc5153f824429a66880d7"), "a" : null }
|
{ "_id" : ObjectId("521bc5183f824429a66880d8"), "a" : null } // really undefined
|
Attachments
Issue Links
- related to
-
DOCS-3130 null match now includes undefined
-
- Closed
-