Function
logQuery
(q: { sql: string; params: unknown[] })
Source from the content-addressed store, hash-verified
| 135 | } |
| 136 | |
| 137 | export 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 | |
| 146 | const dottedToJsonPath = (path: string) => |
| 147 | path |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…