MCPcopy Index your code
hub / github.com/HelloZeroNet/ZeroNet / execute

Method execute

src/Db/Db.py:107–110  ·  view source on GitHub ↗
(self, query, params=None)

Source from the content-addressed store, hash-verified

105
106 # Execute query using dbcursor
107 def execute(self, query, params=None):
108 if not self.conn:
109 self.connect()
110 return self.cur.execute(query, params)
111
112 def commit(self, reason="Unknown"):
113 if self.progress_sleeping:

Callers 15

getTableVersionMethod · 0.95
actionBenchmarkMethod · 0.95
processDelayedMethod · 0.45
updateJsonMethod · 0.45
queryMethod · 0.45
loadMethod · 0.45
testCheckTablesMethod · 0.45
testQueriesMethod · 0.45
testEscapingMethod · 0.45
testUpdateJsonMethod · 0.45
testUnsafePatternMethod · 0.45
actionChartDbQueryMethod · 0.45

Calls 1

connectMethod · 0.95

Tested by 11

queryMethod · 0.36
testCheckTablesMethod · 0.36
testQueriesMethod · 0.36
testEscapingMethod · 0.36
testUpdateJsonMethod · 0.36
testUnsafePatternMethod · 0.36
testBootstrapperDbMethod · 0.36
testDbFillMethod · 0.36
testSetContentMethod · 0.36
testDeleteContentMethod · 0.36
testVerifyFilesMethod · 0.36