Class Moped::WriteConcern::Propagate
In: lib/moped/write_concern/propagate.rb
Parent: Object

Propagating write concerns piggyback a getlasterror command to any write operation with the necessary options.

@since 2.0.0

Methods

new  

Attributes

operation  [R]  @!attribute operation
  @return [ Hash ] The gle operation.

Public Class methods

Initialize the propagating write concern.

@example Instantiate the write concern.

  Moped::WriteConcern::Propagate.new(w: 3)

@param [ Hash ] operation The operation to execute.

@since 2.0.0

[Validate]