@ckir/corelib - v0.1.13
    Preparing search index...

    Interface BaseDbConfig

    Base configuration for all database dialects.

    interface BaseDbConfig {
        dialect: "sqlite" | "postgres";
        logger?: StrictLogger;
        mode: DbMode;
        timeoutMs?: number;
        url: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    dialect: "sqlite" | "postgres"

    Database dialect to use.

    logger?: StrictLogger

    Logger instance (defaults to global logger.child({ section: 'Database' })).

    mode: DbMode

    Operation mode.

    timeoutMs?: number

    Query timeout in milliseconds.

    url: string

    Database URL (e.g., 'file:local.db' for SQLite, 'postgres://user:pass@host/db' for Postgres).