@sqlrooms/duckdb / loadSchemaCatalog
Function: loadSchemaCatalog()
loadSchemaCatalog(
connector,options?):Promise<SchemaWithTables[]>
Load the visible DuckDB schema catalog in one metadata query. Starts from schemas, then left-joins tables, views, and columns so empty schemas and empty attached database main schemas are preserved.
Parameters
| Parameter | Type |
|---|---|
connector | DuckDbConnector |
options | LoadSchemaCatalogOptions |
Returns
Promise<SchemaWithTables[]>
