class Mongo::Operation::Update::Command
A MongoDB update operation sent as a command message.
@api private
@since 2.5.2
Private Instance Methods
message(connection)
click to toggle source
# File lib/mongo/operation/update/command.rb, line 47 def message(connection) Protocol::Query.new(db_name, Database::COMMAND, command(connection), options(connection)) end
selector(connection)
click to toggle source
# File lib/mongo/operation/update/command.rb, line 39 def selector(connection) { update: coll_name, updates: validate_updates(connection, send(IDENTIFIER)), ordered: ordered?, } end