ADBC JavaScript Driver Manager
    Preparing search index...

    Variable InfoCodeConst

    InfoCode: {
        VendorName: 0;
        VendorVersion: 1;
        VendorArrowVersion: 2;
        VendorSql: 3;
        VendorSubstrait: 4;
        VendorSubstraitMinVersion: 5;
        VendorSubstraitMaxVersion: 6;
        DriverName: 100;
        DriverVersion: 101;
        DriverArrowVersion: 102;
        DriverAdbcVersion: 103;
    } = ...

    Info codes for the getInfo metadata call.

    These correspond to the ADBC_INFO_* constants in the ADBC spec. Pass a subset to getInfo() to retrieve only specific metadata fields.

    Type Declaration

    • ReadonlyVendorName: 0

      The database vendor/product name (string).

    • ReadonlyVendorVersion: 1

      The database vendor/product version (string).

    • ReadonlyVendorArrowVersion: 2

      The Arrow library version used by the vendor (string).

    • ReadonlyVendorSql: 3

      Whether the vendor supports SQL queries (bool).

    • ReadonlyVendorSubstrait: 4

      Whether the vendor supports Substrait queries (bool).

    • ReadonlyVendorSubstraitMinVersion: 5

      Minimum supported Substrait version, or null (string).

    • ReadonlyVendorSubstraitMaxVersion: 6

      Maximum supported Substrait version, or null (string).

    • ReadonlyDriverName: 100

      The driver name (string).

    • ReadonlyDriverVersion: 101

      The driver version (string).

    • ReadonlyDriverArrowVersion: 102

      The Arrow library version used by the driver (string).

    • ReadonlyDriverAdbcVersion: 103

      The ADBC API version implemented by the driver (int64). Available since ADBC 1.1.0.

    const table = await conn.getInfo([InfoCode.VendorName, InfoCode.DriverVersion])