class Mongo::Operation::Aggregate::Command
A MongoDB aggregate operation sent as a command message.
@api private
@since 2.5.2
Private Instance Methods
Source
# File lib/mongo/operation/aggregate/command.rb, line 38 def message(connection) Protocol::Query.new(db_name, Database::COMMAND, command(connection), options(connection)) end
Source
# File lib/mongo/operation/aggregate/command.rb, line 34 def write_concern_supported?(connection) connection.features.collation_enabled? end