MCPcopy Create free account
hub / github.com/damms005/devdb-vscode / commitChange

Method commitChange

src/database-engines/mysql-ssh-engine.ts:145–149  ·  view source on GitHub ↗
(serializedMutation: SerializedMutation, transaction: knexlib.Knex.Transaction | SQLiteTransaction)

Source from the content-addressed store, hash-verified

143 }
144
145 async commitChange(serializedMutation: SerializedMutation, transaction: knexlib.Knex.Transaction | SQLiteTransaction): Promise<void> {
146 await this.ensureConnected()
147 if (!this.wrappedEngine) throw new Error('Not connected')
148 return this.wrappedEngine.commitChange(serializedMutation, transaction as knexlib.Knex.Transaction)
149 }
150
151 async getVersion(): Promise<string | undefined> {
152 await this.ensureConnected()

Callers

nothing calls this directly

Calls 2

ensureConnectedMethod · 0.95
commitChangeMethod · 0.65

Tested by

no test coverage detected