MariaDbJournalOptions
Esta página aún no está disponible en tu idioma.
Defined in: src/persistence/journals/MariaDbJournal.ts:16
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/journals/MariaDbJournal.ts:22
Run CREATE TABLE IF NOT EXISTS on first use. Default: true.
eventsTable?
Section titled “eventsTable?”
readonlyoptionaleventsTable?:string
Defined in: src/persistence/journals/MariaDbJournal.ts:18
Events table name. Default: events.
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”tagsTable?
Section titled “tagsTable?”
readonlyoptionaltagsTable?:string
Defined in: src/persistence/journals/MariaDbJournal.ts:20
Tags join table name. Default: ${eventsTable}_tags.
readonlyoptionalurl?:string
Defined in: src/persistence/journals/MariaDbClient.ts:53
Connection URI passed straight to createPool, e.g. mariadb://user:pass@host:3306/db.