Database dialect to use.
OptionalgetOptional provider for a logical-operation trace id, threaded onto query logs so an AI can follow one operation across many queries/requests. The consuming app populates it (e.g. from an AsyncLocalStorage request/operation context); corelib stays ALS-ignorant.
OptionalloggerLogger instance (defaults to global logger.child({ section: 'Database' })).
Operation mode.
OptionalparamOpt-in param logging for the Flight-Recorder query traces. When set, each query's
params are passed through this redactor and logged under params on query: exec.
Unset (the default) means params are NOT logged. Use the exported defaultRedactor
(or a stricter one); the consuming project owns the residual leak risk.
OptionaltimeoutQuery timeout in milliseconds.
Database URL (e.g., 'file:local.db' for SQLite, 'postgres://user:pass@host/db' for Postgres).
Base configuration for all database dialects.