Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1168
class
PostgresDB(DB):
Callers
3
testCommit
Method · 0.80
testRollback
Method · 0.80
testNestedTransactions
Method · 0.80
Calls
1
Transaction
Class · 0.85
Tested by
3
testCommit
Method · 0.64
testRollback
Method · 0.64
testNestedTransactions
Method · 0.64