Skip to content

PostgresQueryableLike

Defined in: packages/pipeline/src/interfaces/postgres-queryable.interface.ts:11

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: packages/pipeline/src/interfaces/postgres-queryable.interface.ts:12

string

unknown[]

Promise<TResult>