Skip to content

pgConnection

function pgConnection(
client,
connectionString,
subpath?
): PgConnection;

Defined in: src/storage/postgres.ts:70

Build a PgConnection from a borrowed client or a connectionString.

Parameter Type Default value
client | SqlClient | undefined undefined
connectionString string | undefined undefined
subpath? string SUBPATH

PgConnection