MCPcopy Index your code
hub / github.com/webpy/webpy / query

Method query

web/db.py:580–582  ·  view source on GitHub ↗
(self, q)

Source from the content-addressed store, hash-verified

578 """Transaction Engine used in sub transactions."""
579
580 def query(self, q):
581 db_cursor = ctx.db.cursor()
582 ctx.db_execute(db_cursor, SQLQuery(q % transaction_count))
583
584 def do_transact(self):
585 self.query("SAVEPOINT webpy_sp_%s")

Callers 3

do_transactMethod · 0.95
do_commitMethod · 0.95
do_rollbackMethod · 0.95

Calls 1

SQLQueryClass · 0.85

Tested by

no test coverage detected