MCPcopy Create free account
hub / github.com/Effect-TS/effect / execute

Function execute

packages/sql/sqlite-do/src/SqliteClient.ts:237–241  ·  view source on GitHub ↗
(sql, params, transformRows)

Source from the content-addressed store, hash-verified

235
236 return identity<Connection>({
237 execute(sql, params, transformRows) {
238 return transformRows
239 ? Effect.map(runStatement(sql, params), transformRows)
240 : runStatement(sql, params)
241 },
242 executeRaw(sql, params) {
243 return runStatement(sql, params)
244 },

Callers

nothing calls this directly

Calls 2

runStatementFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected