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

Struct testQueryRewriter

conn_test.go:257–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

255}
256
257type testQueryRewriter struct {
258 sql string
259 args []any
260}
261
262func (qr *testQueryRewriter) RewriteQuery(ctx context.Context, conn *pgx.Conn, sql string, args []any) (newSQL string, newArgs []any, err error) {
263 return qr.sql, qr.args, nil

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected