Aggregation stages
Aggregation Stages
The following MongoDB Aggregation Stages are fully supported within the ODSL language:
- addFields
- bucket
- bucketAuto
- count
- documents
- facet
- geoNear
- graphLookup
- group
- limit
- lookup
- match
- merge
- out
- project
- redact
- replaceRoot
- replaceWith
- sample
- skip
- sort
- sortByCount
- unwind
All other pipeline stages can be used in ODSL in JSON format, e.g.
aggregate ${object}
{ "$collStats": { "storageStats": { } } }
end