MCPcopy Create free account
hub / github.com/Effect-TS/effect / isStalePreparedStatement

Function isStalePreparedStatement

packages/sql/pg/src/PgConnection.ts:1573–1573  ·  view source on GitHub ↗
(code: string | undefined)

Source from the content-addressed store, hash-verified

1571 * prepared for. Both are recovered by parsing the statement again.
1572 */
1573const isStalePreparedStatement = (code: string | undefined): boolean => code === "26000" || code === "0A000"
1574
1575type BindEncoder = (options: {
1576 readonly portal: string

Callers 1

onMessageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected