Const
Depth values for the getObjects metadata call.
getObjects
These correspond to the ADBC_OBJECT_DEPTH_* constants in the ADBC spec.
ADBC_OBJECT_DEPTH_*
Readonly
Catalogs, schemas, tables, and columns (default).
Catalogs only.
Catalogs and schemas.
Catalogs, schemas, and tables.
// Retrieve catalogs and schemas onlyawait conn.getObjects({ depth: ObjectDepth.Schemas }) Copy
// Retrieve catalogs and schemas onlyawait conn.getObjects({ depth: ObjectDepth.Schemas })
Depth values for the
getObjectsmetadata call.These correspond to the
ADBC_OBJECT_DEPTH_*constants in the ADBC spec.