class Mongo::Operation::Write::Command::UpdateUser

Update user command on non-legacy servers.

@since 2.0.0

Private Instance Methods

selector() click to toggle source

The query selector for this update user command operation.

@return [ Hash ] The selector describing this update user operation.

@since 2.0.0

# File lib/mongo/operation/write/command/update_user.rb, line 35
def selector
  { :updateUser => user.name, :digestPassword => false }.merge(user.spec)
end