struct Mongo::Session::TransactionOptions

Defined in:

cryomongo/sessions/transactions.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(read_concern : ReadConcern? = nil, write_concern : WriteConcern? = nil, read_preference : ReadPreference? = nil, max_commit_time_ms : Int64? = 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? #

def read_concern : ReadConcern? #

def read_preference : ReadPreference? #

def write_concern : WriteConcern? #