lib/polyphony/adapters/postgres.rb
# Starts a transaction, runs given block, and commits transaction. If an
# error is raised, the transaction is rolled back and the error is raised
# again.
# @return [void]
Starts a transaction, runs given block, and commits transaction. If an
error is raised, the transaction is rolled back and the error is raised
again.
Starts a transaction runs given block and commits transaction . If an error is raised the transaction is rolled back and the error is raised again .
def transaction(&block)
    return yield if @transaction 
    perform_transaction(&block)
  end
def transaction ( & block ) return yield if @transaction perform_transaction ( & block ) end
Starts a transaction, runs given block, and commits transaction.
Starts a transaction runs given block and commits transaction .
# allow nesting of calls to #transactions
None
void
block
<not_specific>