Skip to content

PostgresClient

Defined in: src/adapters/postgres.ts:26

Minimal PostgreSQL client interface - satisfied by pg, postgres.js, and most Postgres libraries. Only a single query method is required.

query(text, params?): Promise<{ rows: Record<string, unknown>[]; }>

Defined in: src/adapters/postgres.ts:27

string

unknown[]

Promise<{ rows: Record<string, unknown>[]; }>