struct Mongo::Session::TransactionOptions
- Mongo::Session::TransactionOptions
- Struct
- Value
- Object
Defined in:
cryomongo/sessions/transactions.crConstructors
Instance Method Summary
- #clone
- #copy_with(read_concern _read_concern = @read_concern, write_concern _write_concern = @write_concern, read_preference _read_preference = @read_preference, max_commit_time_ms _max_commit_time_ms = @max_commit_time_ms)
- #max_commit_time_ms : Int64 | Nil
- #read_concern : ReadConcern | Nil
- #read_preference : ReadPreference | Nil
- #write_concern : WriteConcern | Nil
Constructor Detail
def self.new(read_concern : ReadConcern | Nil = nil, write_concern : WriteConcern | Nil = nil, read_preference : ReadPreference | Nil = nil, max_commit_time_ms : Int64 | Nil = nil)
#
Instance Method Detail
def copy_with(read_concern _read_concern = @read_concern, write_concern _write_concern = @write_concern, read_preference _read_preference = @read_preference, max_commit_time_ms _max_commit_time_ms = @max_commit_time_ms)
#