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

Class dummy_engine

web/db.py:593–597  ·  view source on GitHub ↗

Transaction Engine used instead of subtransaction_engine when sub transactions are not supported.

Source from the content-addressed store, hash-verified

591 self.query("ROLLBACK TO SAVEPOINT webpy_sp_%s")
592
593 class dummy_engine:
594 """Transaction Engine used instead of subtransaction_engine
595 when sub transactions are not supported."""
596
597 do_transact = do_commit = do_rollback = lambda self: None
598
599 if self.transaction_count:
600 # nested transactions are not supported in some databases

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected