MariaDbDurableStateStoreOptions
このコンテンツはまだ日本語訳がありません。
Defined in: src/persistence/durable-state-stores/MariaDbDurableStateStore.ts:19
Connection options shared by the three MariaDB stores.
Extends
Section titled “Extends”Properties
Section titled “Properties”autoCreateTables?
Section titled “autoCreateTables?”
readonlyoptionalautoCreateTables?:boolean
Defined in: src/persistence/durable-state-stores/MariaDbDurableStateStore.ts:23
Run CREATE TABLE IF NOT EXISTS on first use. Default: true.
readonlyoptionalpool?:MariaDbPoolLike
Defined in: src/persistence/journals/MariaDbClient.ts:57
Pre-built pool — shares one pool across the three stores, or injects a fake in tests.
Inherited from
Section titled “Inherited from”poolConfig?
Section titled “poolConfig?”
readonlyoptionalpoolConfig?:Record<string,unknown>
Defined in: src/persistence/journals/MariaDbClient.ts:55
createPool config object (host/user/password/database/…); takes precedence over url.
Inherited from
Section titled “Inherited from”table?
Section titled “table?”
readonlyoptionaltable?:string
Defined in: src/persistence/durable-state-stores/MariaDbDurableStateStore.ts:21
Table name. Default: durable_state.
readonlyoptionalurl?:string
Defined in: src/persistence/journals/MariaDbClient.ts:53
Connection URI passed straight to createPool, e.g. mariadb://user:pass@host:3306/db.