Skip to content

PostgresStoreOptions

Defined in: store/postgres.ts:64

Options for postgresStore.

pool: PostgresPool

Defined in: store/postgres.ts:66

Your pool. The store runs its queries on it and never ends it.


optional schema?: string

Defined in: store/postgres.ts:55

The Postgres schema, created if missing. Default public. At most 63 bytes.

PostgresSchemaOptions.schema


optional tablePrefix?: string

Defined in: store/postgres.ts:60

Prepended to each table name (entries becomes ${tablePrefix}entries). Default none. At most 52 bytes, so that ${tablePrefix}open_tables fits Postgres's 63-byte limit.

PostgresSchemaOptions.tablePrefix