Sha256: 4427139e83bdc8aeedfa472517c5251b607132b246f5b8047c66e1fc3ab003d7
Contents?: true
Size: 765 Bytes
Versions: 26
Compression:
Stored size: 765 Bytes
Contents
module Foobara class Entity < Model module Concerns module Transactions include Concern module ClassMethods def current_transaction_table Foobara::Persistence.current_transaction_table!(self) end def current_transaction Foobara::Persistence.current_transaction!(self) end def transaction(mode: nil, skip_dependent_transactions: false, &) if skip_dependent_transactions entity_base.transaction(mode, &) else Foobara::Persistence.transaction( self, *deep_depends_on, mode:, & ) end end end end end end end
Version data entries
26 entries across 26 versions & 1 rubygems