ADBC JavaScript Driver Manager
    Preparing search index...

    Variable LoadFlagsConst

    LoadFlags: {
        SearchEnv: number;
        SearchUser: number;
        SearchSystem: number;
        AllowRelativePaths: number;
        Default: number;
    } = ...

    Bitmask flags controlling how the driver manager resolves a driver name.

    These values correspond to the ADBC_LOAD_FLAG_* constants in the ADBC spec. Flags can be combined with bitwise OR. When loadFlags is omitted in ConnectOptions, LoadFlags.Default is used.

    Type Declaration

    • ReadonlySearchEnv: number

      Search directory paths in the ADBC_DRIVER_PATH environment variable (and the conda environment, if installed via conda).

    • ReadonlySearchUser: number

      Search the user configuration directory.

    • ReadonlySearchSystem: number

      Search the system configuration directory.

    • ReadonlyAllowRelativePaths: number

      Allow a relative path to be provided as the driver name.

    • ReadonlyDefault: number

      All defined flags enabled. This is the default when loadFlags is omitted.

    // Only search system paths, disallow relative paths
    const db = new AdbcDatabase({
    driver: 'sqlite',
    loadFlags: LoadFlags.SearchSystem,
    })