А может кто подсказать как выполнить:
db.documents.aggregate( [{ $set: { "done": true } }] )
при помощи Monger:
Дока пишет вот это, но вообще непонятно, куда пихать $set :
aggregate
(aggregate db coll stages & opts)
Executes an aggregation query. MongoDB 2.2+ only.
Accepts the options :allow-disk-use and :cursor (a map with the :batch-size
key), as described in the MongoDB manual. Additionally, the :max-time option
is supported, for specifying a limit on the execution time of the query in
milliseconds.