-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 2.6.5
-
Component/s: Shell
-
None
-
ALL
-
> db.collection.count();
474123
> db.collection.count({"timestamp":{$type:9}});
474123
> db.collection.count({"timestamp":{$type:17}});
2015-02-18T13:58:02.394-0500 count failed: {
"code" : 13111,
"ok" : 0,
"errmsg" : "13111 wrong type for field () 17 != 9"
} at src/mongo/shell/query.js:191
- duplicates
-
SERVER-3304 Change comparison order so all Dates sort before all Timestamps
- Closed