class Mongo::Operation::Delete::Command
A MongoDB delete operation sent as a command message.
@api private
@since 2.5.2
Private Instance Methods
Source
# File lib/mongo/operation/delete/command.rb, line 40 def message(connection) Protocol::Query.new(db_name, Database::COMMAND, command(connection), options(connection)) end
Source
# File lib/mongo/operation/delete/command.rb, line 34 def selector(connection) { delete: coll_name, deletes: send(IDENTIFIER), ordered: ordered? } end