MCPcopy
hub / github.com/Effect-TS/effect / commit

Method commit

packages/sql/src/internal/statement.ts:182–187  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

180 return this.compiler.compile(this, withoutTransform ?? false)
181 }
182 commit(): Effect.Effect<ReadonlyArray<A>, Error.SqlError> {
183 return this.withConnection(
184 "execute",
185 (connection, sql, params) => connection.execute(sql, params, this.transformRows)
186 )
187 }
188 toJSON() {
189 const [sql, params] = this.compile()
190 return {

Callers 1

makeWithTransactionFunction · 0.45

Calls 2

withConnectionMethod · 0.95
executeMethod · 0.45

Tested by

no test coverage detected