-
Type:
New Feature
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
When running with type=debug, new bsondump will print an object with a Min Key as
--- new object ---
size : 40
_id
type: 7 size: 17
type
type: 2 size: 14
ex
type: 255 size: 4
However, c++ bsondump prints
--- new object ---
size : 40
_id
type: 7 size: 17
type
type: 2 size: 14
ex
type: -1 size: 4
We should probably go with -1, for consistency with http://docs.mongodb.org/manual/reference/operator/query/type/