MCPcopy Index your code
hub / github.com/Effect-TS/effect / execute

Function execute

packages/sql-d1/src/D1Client.ts:142–146  ·  view source on GitHub ↗
(sql, params, transformRows)

Source from the content-addressed store, hash-verified

140
141 return identity<Connection>({
142 execute(sql, params, transformRows) {
143 return transformRows
144 ? Effect.map(runCached(sql, params), transformRows)
145 : runCached(sql, params)
146 },
147 executeRaw(sql, params) {
148 return runRaw(sql, params)
149 },

Callers 3

cliApp.tsFile · 0.50
makeUnsafeFunction · 0.50

Calls 2

runCachedFunction · 0.85
mapMethod · 0.65

Tested by

no test coverage detected