Ducklings API Documentation
    Preparing search index...

    Interface DuckDBConfig

    DuckDB configuration options.

    interface DuckDBConfig {
        accessMode?: AccessMode;
        customConfig?: Record<string, string>;
        enableExternalAccess?: boolean;
        lockConfiguration?: boolean;
    }
    Index

    Properties

    accessMode?: AccessMode

    Database access mode. Use READ_ONLY to prevent any data modification.

    AccessMode.AUTOMATIC
    
    customConfig?: Record<string, string>

    Custom configuration options. Key-value pairs passed directly to duckdb_set_config.

    enableExternalAccess?: boolean

    Enable external access (file I/O, httpfs, etc.). Set to false to prevent all external data access. WARNING: Setting to false will disable httpfs functionality.

    true
    
    lockConfiguration?: boolean

    Lock configuration after startup. Prevents runtime configuration changes via SQL SET commands.

    true (secure default)