Skip to content

@pgege/kaboo-runtime


Interface: PostgresThreadStoreOptions

Defined in: src/stores/postgres.ts:11

Options for PostgresThreadStore. Provide exactly one connection source: either a dsn connection string (the store creates and owns its own pg.Pool) or an existing pool to reuse. Passing neither throws.

Properties

dsn?

optional dsn?: string

Defined in: src/stores/postgres.ts:13

Postgres connection string. Ignored when an existing pool is passed.


pool?

optional pool?: Pool

Defined in: src/stores/postgres.ts:15

Reuse an existing pg.Pool instead of creating one from dsn.