Class: Mongo::WriteConcern::Unacknowledged
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
Base
|
|
Instance Chain:
self,
Base
|
|
Inherits: |
Mongo::WriteConcern::Base
|
Defined in: | lib/mongo/write_concern/unacknowledged.rb |
Overview
An unacknowledged write concern will provide no error on write outside of network and connection exceptions.
Constant Summary
-
NOOP =
The noop constant for the gle.
nil
Class Method Summary
Instance Attribute Summary
Instance Method Summary
-
#get_last_error ⇒ nil
Get the gle command for an unacknowledged write.
-
#inspect ⇒ String
Get a human-readable string representation of an unacknowledged write concern.
Instance Attribute Details
#acknowledged? ⇒ true
, false
(readonly)
Is this write concern acknowledged.
# File 'lib/mongo/write_concern/unacknowledged.rb', line 51
def acknowledged? false end
Instance Method Details
#get_last_error ⇒ nil
Get the gle command for an unacknowledged write.
# File 'lib/mongo/write_concern/unacknowledged.rb', line 39
def get_last_error NOOP end
#inspect ⇒ String
Get a human-readable string representation of an unacknowledged write concern.
# File 'lib/mongo/write_concern/unacknowledged.rb', line 63
def inspect "#<Mongo::WriteConcern::Unacknowledged:0x#{object_id} options=#{}>" end