ADBC JavaScript Driver Manager
    Preparing search index...

    Variable ObjectDepthConst

    ObjectDepth: { All: 0; Catalogs: 1; Schemas: 2; Tables: 3 } = ...

    Depth values for the getObjects metadata call.

    These correspond to the ADBC_OBJECT_DEPTH_* constants in the ADBC spec.

    Type Declaration

    • ReadonlyAll: 0

      Catalogs, schemas, tables, and columns (default).

    • ReadonlyCatalogs: 1

      Catalogs only.

    • ReadonlySchemas: 2

      Catalogs and schemas.

    • ReadonlyTables: 3

      Catalogs, schemas, and tables.

    // Retrieve catalogs and schemas only
    await conn.getObjects({ depth: ObjectDepth.Schemas })