RegisterPostgresPluginsOptions
此内容尚不支持你的语言。
Defined in: src/persistence/journals/PostgresPlugin.ts:19
Properties
Section titled “Properties”durableStateStore?
Section titled “durableStateStore?”
readonlyoptionaldurableStateStore?:Omit<PostgresDurableStateStoreOptions,"pool">
Defined in: src/persistence/journals/PostgresPlugin.ts:32
Durable-state-store-specific options. Defaults to {} (uses the shared pool).
journal
Section titled “journal”
readonlyjournal:Omit<PostgresJournalOptions,"pool">
Defined in: src/persistence/journals/PostgresPlugin.ts:28
Journal-specific options (table names, autoCreate, and connection if no shared pool).
readonlyoptionalpool?:PgPoolLike
Defined in: src/persistence/journals/PostgresPlugin.ts:26
Shared connection pool injected into all three stores. When provided,
the journal + snapshot + durable-state stores reuse ONE pool (the
usual case — they target the same database). When omitted, each store
lazily builds its own pool from its url / poolConfig.
snapshotStore
Section titled “snapshotStore”
readonlysnapshotStore:Omit<PostgresSnapshotStoreOptions,"pool">
Defined in: src/persistence/journals/PostgresPlugin.ts:30
Snapshot-store-specific options.