MCPcopy Create free account
hub / github.com/AlexErrant/Pentive / executeQuery

Method executeQuery

app/src/sqlite/dialect.ts:34–38  ·  view source on GitHub ↗
(query: CompiledQuery)

Source from the content-addressed store, hash-verified

32 db = await load()
33 connection = {
34 async executeQuery<O>(query: CompiledQuery) {
35 return {
36 rows: (await db.execO(query.sql, query.parameters)) as O[],
37 }
38 },
39 async *streamQuery() {
40 throw new Error("Sqlite driver doesn't support streaming")
41 },

Callers 3

beginTransactionMethod · 0.80
commitTransactionMethod · 0.80
rollbackTransactionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected