Commit Graph

7 Commits

Author SHA1 Message Date
Mark Benvenuto
6dcdd23dd3 SERVER-23971 Clang-Format code 2016-05-28 17:55:12 -04:00
Mike Grundy
1be713cebb SERVER-23067 Final round of JS linting and formatting 2016-03-18 17:10:31 -04:00
Jonathan Abrahams
4ae691e8ed SERVER-22468 Format JS code with approved style in jstests/ 2016-03-09 12:18:14 -05:00
Mike Grundy
bca7050e6f SERVER-22341 fix jslint errors in jstests/aggregation with eslint --fix 2016-02-05 15:00:49 -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
Mathias Stearn
c30d78afda SERVER-5916 Allow bare $$ROOT or $$CURRENT without subfields
This represents the whole variable (usually the full incoming document).
2013-09-24 17:17:40 -04:00
Mathias Stearn
063e03c4e8 SERVER-9840 Introduce the concept of Variables into aggregation and add $let to set them
As fallout from the main change, ExpressionObjects now need to be told
at construction time when they should use the semantics of a root object
in a $project (special handling of _id).
2013-06-18 12:51:16 -04:00