Commit Graph

7 Commits

Author SHA1 Message Date
Mathias Stearn
4b214cdb01 SERVER-11443 Support all expressions in $redact, not just objects 2013-12-18 19:09:17 -05: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
matt dannenberg
1d12521aef SERVER-10693 added extra test case to ensure nest arrays function properly 2013-09-06 15:33:29 -04:00
matt dannenberg
68a5d567d6 SERVER-10693 include non-object array members if an array is included in $redact 2013-09-06 15:22:58 -04:00
matt dannenberg
85905aab8d SERVER-8581 add $$KEEP example to $redact 2013-08-26 18:25:32 -04:00
matt dannenberg
c9cb874f22 SERVER-8581 use $$DESCEND rather than $$CONTINUE in $redact 2013-08-26 18:23:11 -04:00
matt dannenberg
558f2790d5 SERVER-8581 $redact pipeline stage 2013-08-19 17:52:19 -04:00