Skip to content

PostgresQueryableLike

Defined in: pipeline/dist/interfaces/postgres-queryable.interface.d.ts:9

Minimal structural shape of a pg Pool / Client. Declared here so no package hard-depends on pg — a real Pool or Client satisfies it. Add it in your app: pnpm add pg.

TResult is the part of the query result the caller reads; the default unknown suits a caller that only writes.

TResult = unknown

query(text, values?): Promise<TResult>

Defined in: pipeline/dist/interfaces/postgres-queryable.interface.d.ts:10

string

unknown[]

Promise<TResult>