Class: Moped::WriteConcern::Unverified

Inherits:
Object
  • Object
show all
Defined in:
lib/moped/write_concern/unverified.rb

Overview

Unverified write concerns are fire and forget.

Since:

  • 2.0.0

Constant Summary collapse

NOOP =

Constant for a noop getlasterror command.

Since:

  • 2.0.0

nil

Instance Method Summary collapse

Instance Method Details

#operationnil

Get the gle command associated with this write concern.

Examples:

Get the gle operation.

unverified.operation

Returns:

  • (nil)

    nil, since unverified writes perform no gle.

Since:

  • 2.0.0



23
24
25
# File 'lib/moped/write_concern/unverified.rb', line 23

def operation
  NOOP
end