Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
Query
-
ALL
Description
> db.max.find({_id:{$type:0xff}}) //documented in bsonspec
|
error: { "$err" : "type not supported for appendMinElementForType", "code" : 10061 }
|
> db.max.find({_id:{$type:-1}})
|
{ "_id" : { "$MinKey" : true } }
|
Attachments
Issue Links
- is related to
-
DOCS-11791 bsonspec.org should clarify MinKey type code
-
- External Review
-
- related to
-
SERVER-35454 Query system does not fail cleanly for $type:0 when an index is available
-
- Closed
-