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

Method run

repos/effect/packages/sql/pglite/src/PgliteClient.ts:278–286  ·  view source on GitHub ↗
(method: string, sql: string, params: ReadonlyArray<unknown>)

Source from the content-addressed store, hash-verified

276 try: () => pglite.refreshArrayTypes(),
277 catch: (cause) =>
278 new SqlError({ reason: classifyError(cause, "Failed to refresh array types", "refreshArrayTypes") })
279 })
280 )
281 }
282 )
283 })
284
285class PgliteConnection implements Connection {
286 readonly pglite: PGliteInterface
287 constructor(pglite: PGliteInterface) {
288 this.pglite = pglite
289 }

Callers 3

executeMethod · 0.95
executeUnpreparedMethod · 0.95
executeStreamMethod · 0.95

Calls 2

classifyErrorFunction · 0.70
mapMethod · 0.65

Tested by

no test coverage detected