MCPcopy Create free account
hub / github.com/effect-app/libs / executeUnprepared

Function executeUnprepared

repos/effect/packages/sql/d1/src/D1Client.ts:200–204  ·  view source on GitHub ↗
(sql, params, transformRows)

Source from the content-addressed store, hash-verified

198export const make = (
199 options: D1ClientConfig
200): Effect.Effect<D1Client, never, Scope.Scope | Reactivity.Reactivity> =>
201 Effect.gen(function*() {
202 const compiler = Statement.makeCompilerSqlite(options.transformQueryNames)
203 const transformRows = options.transformResultNames ?
204 Statement.defaultTransforms(options.transformResultNames).array :
205 undefined
206 const spanAttributes: Array<readonly [string, unknown]> = [
207 ...(options.spanAttributes ? Object.entries(options.spanAttributes) : []),

Callers

nothing calls this directly

Calls 2

runUncachedFunction · 0.85
mapMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…