MariaDbJournalOptionsType
Ce contenu n’est pas encore disponible dans votre langue.
Defined in: src/persistence/journals/MariaDbJournalOptions.ts:4
Connection options shared by the three MariaDB stores.
Extends
Section titled “Extends”MariaDbConnection.StoreSerializerOptionsBase
Properties
Section titled “Properties”autoCreateTables?
Section titled “autoCreateTables?”
readonlyoptionalautoCreateTables?:boolean
Defined in: src/persistence/journals/MariaDbJournalOptions.ts:10
Run CREATE TABLE IF NOT EXISTS on first use. Default: true.
eventsTable?
Section titled “eventsTable?”
readonlyoptionaleventsTable?:string
Defined in: src/persistence/journals/MariaDbJournalOptions.ts:6
Events table name. Default: events.
readonlyoptionalpool?:MariaDbPoolLike
Defined in: src/persistence/journals/MariaDbClient.ts:58
Pre-built pool — shares one pool across the three stores, or injects a fake in tests.
Inherited from
Section titled “Inherited from”MariaDbConnection.pool
poolConfig?
Section titled “poolConfig?”
readonlyoptionalpoolConfig?:Record<string,unknown>
Defined in: src/persistence/journals/MariaDbClient.ts:56
createPool config object (host/user/password/database/…); takes precedence over url.
Inherited from
Section titled “Inherited from”MariaDbConnection.poolConfig
serializer?
Section titled “serializer?”
readonlyoptionalserializer?:Serializer<unknown>
Defined in: src/persistence/storage/StoreSerializerOptions.ts:23
Custom payload serializer. When set, the store writes rows in the
self-describing __serialized__ framing (see PayloadCodec) instead
of the default tagged JSON; rows of both formats can coexist in one
stream, but reading a framed row back requires a serializer with the
same id to be configured.
Inherited from
Section titled “Inherited from”StoreSerializerOptionsBase.serializer
tagsTable?
Section titled “tagsTable?”
readonlyoptionaltagsTable?:string
Defined in: src/persistence/journals/MariaDbJournalOptions.ts:8
Tags join table name. Default: ${eventsTable}_tags.
readonlyoptionalurl?:string
Defined in: src/persistence/journals/MariaDbClient.ts:54
Connection URI passed straight to createPool, e.g. mariadb://user:pass@host:3306/db.
Inherited from
Section titled “Inherited from”MariaDbConnection.url
