client.databases.list_schemas_tables
A method of the Databases endpoint.
- list_schemas_tables(id: int, schema_name: str, *, credential_id: int = None) ListResponse
List tables in this schema
API URL:
GET /databases/{id}/schemas/{schema_name}/tablesimport civis client = civis.APIClient() response = client.databases.list_schemas_tables(...)
- Parameters:
- idint
The ID of the database
- schema_namestr
The name of the schema
- credential_idint, optional
If provided, schemas will be filtered based on the given credential.
- Returns:
civis.ListResponse- namestr
The name of the table.
- schemastr
The name of the schema containing the table.
- is_viewbool
True if this table represents a view. False if it represents a regular table.
- database_idint
The ID of the database server.