Class: Mongo::Operation::Aggregate Private

Inherits:
Object
  • Object
show all
Includes:
OpMsgExecutable, Specifiable
Defined in:
lib/mongo/operation/aggregate.rb,
lib/mongo/operation/aggregate/op_msg.rb,
lib/mongo/operation/aggregate/result.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

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.

A MongoDB aggregate operation.

Since:

  • 2.0.0

Defined Under Namespace

Classes: OpMsg, Result

Method Summary

Methods included from OpMsgExecutable

#execute, #execute_with_connection