MCPcopy Create free account
hub / github.com/Azarattum/CRStore / commitTransaction

Method commitTransaction

src/lib/database/dialect.ts:42–44  ·  view source on GitHub ↗
(connection: DatabaseConnection)

Source from the content-addressed store, hash-verified

40 await connection.executeQuery(CompiledQuery.raw("begin"));
41 },
42 async commitTransaction(connection: DatabaseConnection) {
43 await connection.executeQuery(CompiledQuery.raw("commit"));
44 },
45 async rollbackTransaction(connection: DatabaseConnection) {
46 await connection.executeQuery(CompiledQuery.raw("rollback"));
47 },

Callers

nothing calls this directly

Calls 1

executeQueryMethod · 0.80

Tested by

no test coverage detected