MCPcopy Create free account
hub / github.com/webpy/webpy / transaction

Method transaction

web/db.py:1163–1165  ·  view source on GitHub ↗

Start a transaction.

(self)

Source from the content-addressed store, hash-verified

1161 return query
1162
1163 def transaction(self):
1164 """Start a transaction."""
1165 return Transaction(self.ctx)
1166
1167
1168class PostgresDB(DB):

Callers 3

testCommitMethod · 0.80
testRollbackMethod · 0.80

Calls 1

TransactionClass · 0.85

Tested by 3

testCommitMethod · 0.64
testRollbackMethod · 0.64