PostgresQueryableLike
Defined in: packages/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.
Type Parameters
Section titled “Type Parameters”TResult
Section titled “TResult”TResult = unknown
Methods
Section titled “Methods”query()
Section titled “query()”query(
text,values?):Promise<TResult>
Defined in: packages/pipeline/dist/interfaces/postgres-queryable.interface.d.ts:10
Parameters
Section titled “Parameters”string
values?
Section titled “values?”unknown[]
Returns
Section titled “Returns”Promise<TResult>