Commit Graph

11 Commits

Author SHA1 Message Date
Adam Midvidy
308af33f76 SERVER-11118 add dateToString aggregation operator
Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Closes #720
2014-07-24 12:04:22 -04:00
Mathias Stearn
061a086641 SERVER-10165 aggregate() shell helper now returns a cursor
The actual change is in src/mongo/shell/collection.js with the remaining changes
to adjust tests to the new api.

The "ideal" arguments are now an array of pipeline ops and an optional object
with extra top-level options for the command (such as {explain: true}. For
backwards compatibility, we still support the varargs style where each argument
is a pipeline stage, but there is no way to specify extra parameters in this
mode.
2013-10-08 17:35:02 -04:00
Mathias Stearn
14837002ef Test for SERVER-9289 Date operators taking subexpression directly
The bug was fixed in earlier refactoring of Expression parsing.
2013-09-24 17:17:40 -04:00
Mathias Stearn
d978f7f0ea Fix test to not use collection.aggregate since it needs its own error handling
Follow up to SERVER-6195
2012-12-20 16:49:22 -05:00
Stephen Lee
1057208cf3 SERVER-6666: Added $millisecond operator to Aggregation Framework 2012-12-18 13:34:05 -05:00
Mathias Stearn
9052552b34 Fix SERVER-6189 test 2012-08-02 19:27:19 -04:00
Mathias Stearn
47affd0dd4 Try to make SERVER-6189 test more reliable 2012-08-02 19:24:26 -04:00
Mathias Stearn
e9bfafe93d SERVER-6679 Value::coerceToString uses UTC ISODate format for dates 2012-08-02 17:47:59 -04:00
Mathias Stearn
f3343c4e1c Add exceptions to test for SERVER-6189 when it is expected to fail 2012-08-02 17:47:59 -04:00
Mathias Stearn
af67eafd77 Disable test for Dates before 1900 because it fails with 32-bit time_t 2012-08-01 20:35:51 -04:00
Mathias Stearn
07e2bbe729 SERVER-6189 Support Dates before 1970 in aggregation
This required moving away from Date_t as it asserts on dates before 1970
Some tests are disabled due to SERVER-6666 and SERVER-6679
2012-08-01 20:22:19 -04:00