AskSQL API Reference (core v0.10.0)
    Preparing search index...

    Interface DuckDbWasmConnectorConfig

    interface DuckDbWasmConnectorConfig {
        bundles?: DuckDbBundles;
        files?: readonly BrowserFileSource[];
        id: string;
        name: string;
        persistPath?: string;
    }
    Index
    bundles?: DuckDbBundles

    DuckDB-WASM bundles. Omit to use the jsDelivr CDN (needs network + a CSP that allows it). Provide self-hosted bundle URLs for offline / strict CSP.

    files?: readonly BrowserFileSource[]
    id: string
    name: string
    persistPath?: string

    OPFS path (e.g. opfs://asksql.db) backing the database, so tables survive a page reload. Omit for an in-memory database. File views stay session-scoped; CREATE TABLE to persist them.