Iskra API Reference
    Preparing search index...

    Type Alias IskraDrizzleDb<TSchema>

    IskraDrizzleDb:
        | PostgresJsDatabase<TSchema>
        | MySql2Database<TSchema>
        | BunSQLiteDatabase<TSchema>
        | LibSQLDatabase<TSchema>

    The Drizzle database handle exposed by DbDriver, parameterized by the caller's schema. Because the concrete dialect is chosen at runtime, this is a union of the supported dialect databases — all four share the same TSchema extends Record<string, unknown> = Record<string, never> parameter, so passing a schema types db.query.* for opt-in callers while the default Record<string, never> reproduces the historical untyped behavior.

    Type Parameters

    • TSchema extends Record<string, unknown> = Record<string, never>