diff options
author | Matt Dannenberg <dannenberg.matt@gmail.com> | 2012-07-05 09:54:13 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2012-07-06 13:45:08 -0400 |
commit | c54bf4aa6e95776d093788c3e2b4f54c230ef1ca (patch) | |
tree | 41b4a271ae729579896c8eecf765008a9db28fd0 /jstests/aggregation/testall.js | |
parent | f5c6734a9c89c218b36ca6f8f71e9183527ba8af (diff) | |
download | mongo-c54bf4aa6e95776d093788c3e2b4f54c230ef1ca.tar.gz |
SERVER-6290 remove $isoDate aggro operation
Diffstat (limited to 'jstests/aggregation/testall.js')
-rw-r--r-- | jstests/aggregation/testall.js | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/jstests/aggregation/testall.js b/jstests/aggregation/testall.js index 640ffa36407..bf27eb467ea 100644 --- a/jstests/aggregation/testall.js +++ b/jstests/aggregation/testall.js @@ -1067,37 +1067,6 @@ var p19 = db.runCommand({aggregate : "article", pipeline : [ month: {$month: "$posted"}, week: {$week: "$posted"}, year: {$year: "$posted"} - }}, - { $project : { - authors: 1, - posted: 1, - seconds: 1, - minutes: 1, - hour: 1, - dayOfYear: 1, - dayOfMonth: 1, - dayOfWeek: 1, - month: 1, - week: 1, - year: 1, - testDate: {$isoDate:{ - year: "$year", month: "$month", dayOfMonth: "$dayOfMonth", - hour: "$hour", minute: "$minutes", second: "$seconds"}} - }}, - { $project : { - authors: 1, - posted: 1, - seconds: 1, - minutes: 1, - hour: 1, - dayOfYear: 1, - dayOfMonth: 1, - dayOfWeek: 1, - month: 1, - week: 1, - year: 1, - testDate: 1, - isEqual: {$eq:["$posted", "$testDate"]} }} ]}); @@ -1114,8 +1083,6 @@ var p19result = [ "month" : 3, "week" : 12, "year" : 2004, - "testDate" : ISODate("2004-03-21T18:59:54Z"), - "isEqual" : true }, { "_id" : 2, @@ -1129,8 +1096,6 @@ var p19result = [ "month" : 8, "week" : 31, "year" : 2030, - "testDate" : ISODate("2030-08-08T04:11:10Z"), - "isEqual" : true }, { "_id" : 3, @@ -1144,8 +1109,6 @@ var p19result = [ "month" : 12, "week" : 53, "year" : 2000, - "testDate" : ISODate("2000-12-31T05:17:14Z"), - "isEqual" : true } ]; |