MCPcopy
hub / github.com/jackc/pgx / errorQueryRewriter

Struct errorQueryRewriter

named_args.go:39–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39type errorQueryRewriter struct {
40 err error
41}
42
43func (r errorQueryRewriter) RewriteQuery(ctx context.Context, conn *Conn, sql string, args []any) (newSQL string, newArgs []any, err error) {
44 return "", nil, r.err

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected