Class Mongo::WriteConcern::Unacknowledged
In: lib/mongo/write_concern/unacknowledged.rb
Parent: Base

An unacknowledged write concern will provide no error on write outside of network and connection exceptions.

@since 2.0.0

Methods

Constants

NOOP = nil   The noop constant for the gle.

@since 2.0.0

Public Instance methods

Get the gle command for an unacknowledged write.

@example Get the gle command.

  unacknowledged.get_last_error

@return [ nil ] The noop.

@since 2.0.0

Get a human-readable string representation of an unacknowledged write concern.

@example Inspect the write concern.

  write_concern.inspect

@return [ String ] A string representation of an unacknowledged write concern.

@since 2.0.0

[Validate]