mongo shell should display these types correctly and not display both of them as null. Please see SERVER-5974 for more background where distinct command would was showing up as [null,null] in the shell as the shell wouldn't differentiate between these two types.
- duplicates
-
SERVER-19503 Javascript object serialization process should skip properties with undefined values
- Closed
- is depended on by
-
SERVER-5974 distinct returns duplicate values
- Closed
- is duplicated by
-
SERVER-9817 Collection options with value of BSON 'undefined' are translated to Javascript null (in the shell?)
- Closed
-
SERVER-10586 Mongo shell's "null" vs. "undefined" madness continues
- Closed
-
SERVER-7731 undefined is converted to null in javascript shell
- Closed
- is related to
-
SERVER-7104 jsonString has incorrect output on undefined BSON elements.
- Closed
-
SERVER-2426 Convert/print bson undefined type as javascript undefined, not null
- Closed
- related to
-
SERVER-19171 Shell does not always use extended JSON Shell Syntax
- Closed