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

Function logQuery

packages/infra/src/Store/SQL/query.ts:137–144  ·  view source on GitHub ↗
(q: { sql: string; params: unknown[] })

Source from the content-addressed store, hash-verified

135}
136
137export function logQuery(q: { sql: string; params: unknown[] }) {
138 return InfraLogger
139 .logDebug("sql query")
140 .pipe(Effect.annotateLogs({
141 query: q.sql,
142 parameters: JSON.stringify(q.params, undefined, 2)
143 }))
144}
145
146const dottedToJsonPath = (path: string) =>
147 path

Callers 1

Pg.tsFile · 0.90

Calls 1

pipeMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…