class Mongo::Operation::UpdateUser::Command
A MongoDB updateuser operation sent as a command message.
@api private
@since 2.5.2
Private Instance Methods
Source
# File lib/mongo/operation/update_user/command.rb, line 36 def message(connection) Protocol::Query.new(db_name, Database::COMMAND, command(connection), options(connection)) end
Source
# File lib/mongo/operation/update_user/command.rb, line 32 def selector(connection) { :updateUser => user.name }.merge(user.spec) end