Database & utility
Table
duckdb_tables()
List table metadata, including database, schema, and table names. Use it to inspect the connected database without reading table data.
Reference: Haybarn WASM 2.0.0-rc12
Arguments & returns
duckdb_tables()
Table
| Overload link | Returns |
|---|---|
| #01 | TABLE |
Inspect database tables
List table metadata, including database, schema, and table names. Use it to inspect the connected database without reading table data.
Metadata can include internal objects and multiple attached databases. The example filters to the current database and its main schema.
Haybarn WASM 2.0.0-rc12 · In your browser
Guide example · Run to view results.
| table_name |
|---|
usage_inventory |
Watch for: Table names alone may be ambiguous across attached databases. Filter database_name and schema_name as well as table_name.