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

Function execute

packages/sql/sqlite-wasm/src/SqliteClient.ts:215–219  ·  view source on GitHub ↗
(sql, params, transformRows)

Source from the content-addressed store, hash-verified

213 return identity<SqliteMemoryConnection>({
214 isTransaction: () => sqlite3.get_autocommit(db) === 0,
215 execute(sql, params, transformRows) {
216 return transformRows
217 ? Effect.map(run(sql, params), transformRows)
218 : run(sql, params)
219 },
220 executeRaw(sql, params) {
221 return run(sql, params)
222 },

Callers

nothing calls this directly

Calls 2

runFunction · 0.70
mapMethod · 0.45

Tested by

no test coverage detected