| Class | Mongo::Operation::Aggregate |
| In: |
lib/mongo/operation/aggregate/op_msg.rb
lib/mongo/operation/aggregate/command.rb lib/mongo/operation/aggregate/result.rb lib/mongo/operation/aggregate.rb |
| Parent: | Object |
A MongoDB aggregate operation.
@note An aggregate operation can behave like a read and return a
result set, or can behave like a write operation and output results to a user-specified collection.
@api private
@since 2.0.0