Logo
Type aliases

PostgresKVStoreClientConfig

PostgresKVStoreClientConfig: { clientConfig: pg.ClientConfig; } | { shouldConnect: boolean; client: pg.Client | pg.PoolClient; }

Defined in: providers/storage/postgres/src/PostgresKVStore.ts:16

Type declaration

{ clientConfig: pg.ClientConfig; }

clientConfig?

optional clientConfig: pg.ClientConfig

Client configuration options for the pg client.

PostgresSQL Client API

{ shouldConnect: boolean; client: pg.Client | pg.PoolClient; }

shouldConnect?

optional shouldConnect: boolean

A pg client or pool client instance. If provided, make sure it is not connected to the database yet, or it will throw an error.

client?

optional client: pg.Client | pg.PoolClient

On this page