Interface DuckDBConfig

interface DuckDBConfig {
    accessMode?: DuckDBAccessMode;
    allowUnsignedExtensions?: boolean;
    customUserAgent?: string;
    filesystem?: DuckDBFilesystemConfig;
    maximumThreads?: number;
    path?: string;
    query?: DuckDBQueryConfig;
}

Properties

accessMode?: DuckDBAccessMode

The access mode

allowUnsignedExtensions?: boolean

Whether to allow unsigned extensions

customUserAgent?: string

Custom user agent string

The filesystem config

maximumThreads?: number

The maximum number of threads. Note that this will only work with cross-origin isolated sites since it requires SharedArrayBuffers.

path?: string

The database path

The query config