struct Mongo::Session::TransactionOptions

Defined in:

cryomongo/sessions/transactions.cr

Constructors

Instance Method Summary

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 clone #

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) #

def max_commit_time_ms : Int64 | Nil #

def read_concern : ReadConcern | Nil #

def read_preference : ReadPreference | Nil #

def write_concern : WriteConcern | Nil #