MCPcopy Create free account
hub / github.com/asg017/sqlite-loadable-rs / execute_all

Function execute_all

examples/test-examples.py:30–33  ·  view source on GitHub ↗
(sql, args=None)

Source from the content-addressed store, hash-verified

28
29
30def execute_all(sql, args=None):
31 if args is None: args = []
32 results = db.execute(sql, args).fetchall()
33 return list(map(lambda x: dict(x), results))
34
35
36class TestExamples(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

executeMethod · 0.80

Tested by

no test coverage detected