Skip to main content

List Data Source Tables

List underlying tables available in a database data source.

Syntax

list tables in data source <data source reference> [schema <schema reference>] [as text]

Parameters

data source reference

String — Name of the data source to list tables for.

schema reference

String — The optional name of the source database schema to list tables for. Default is the database-specific default schema (e.g., public in PostgreSQL).

as text

None. If present, returns the table list as a comma separated string. Otherwise, the list is formatted as JSON and rendered by the display system as a list.