PostgresConnection
Este conteúdo não está disponível em sua língua ainda.
Defined in: src/persistence/journals/PostgresClient.ts:46
Connection options shared by all three Postgres stores.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”
readonlyoptionalpool?:PgPoolLike
Defined in: src/persistence/journals/PostgresClient.ts:59
Pre-built pool — bypasses the lazy pg import entirely. Use to
share ONE pool across the journal + snapshot + durable-state stores
(see registerPostgresPlugins), or to inject a fake in tests.
poolConfig?
Section titled “poolConfig?”
readonlyoptionalpoolConfig?:Record<string,unknown>
Defined in: src/persistence/journals/PostgresClient.ts:53
Extra node-postgres Pool config, merged over { connectionString: url } — e.g. { max: 10, ssl: { rejectUnauthorized: false } }.
readonlyoptionalurl?:string
Defined in: src/persistence/journals/PostgresClient.ts:48
Connection string, e.g. postgres://user:pass@host:5432/db.