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

Method beginTransaction

app/src/sqlite/dialect.ts:48–50  ·  view source on GitHub ↗
(connection: DatabaseConnection)

Source from the content-addressed store, hash-verified

46 return connection
47 },
48 async beginTransaction(connection: DatabaseConnection) {
49 await connection.executeQuery(CompiledQuery.raw('begin'))
50 },
51 async commitTransaction(connection: DatabaseConnection) {
52 await connection.executeQuery(CompiledQuery.raw('commit'))
53 },

Callers

nothing calls this directly

Calls 1

executeQueryMethod · 0.80

Tested by

no test coverage detected