Details
-
Bug
-
Resolution: Done
-
Minor - P4
-
None
-
None
-
Fully Compatible
-
ALL
-
Platform A (10/09/15), Build B (10/30/15)
Description
Cannot be singled out, or tested:
//can't use typeof
|
>typeof MinKey |
object
|
|
//not === comparable (should make singleton?)
|
> db.max.findOne()._id
|
{ "$maxKey" : 1 } |
> db.max.findOne()._id === MaxKey
|
// no instanceof support...
|
> "a" instanceof MinKey |
Fri Jan 18 18:07:21.863 javascript execution failed (shell):1 TypeError: Expecting a function in instanceof check, but got a |
"a" instanceof MinKey |
Attachments
Issue Links
- is related to
-
SERVER-2667 Cannot compare different instances of ObjectIds with same value
-
- Closed
-