e.g. this will still no work: db.coll.aggregate({})
2018-07-22T19:49:06.255+0300 E QUERY [js] uncaught exception: aggregation failed: {
"ok": 0,
"errmsg": "The 'cursor' option is required, except for aggregate with the explain argument",
"code": 9,
"codeName": "FailedToParse"
}
PS: I'm also not sure if the explain is doing anything now
This fixes the
db.coll.aggregate([...])
with an array. But not with the helpers that this library hase.g. this will still no work:
db.coll.aggregate({})
PS: I'm also not sure if the
explain
is doing anything now