get_table_relationships
Retrieve foreign key relationships for a specific table or all tables in a CockroachDB schema. Quickly identify and analyze table dependencies for efficient database management.
Instructions
Get foreign key relationships for a table or all tables.
Args: table_name (str, optional): Table name to filter relationships (default: None).
Returns: List all relationships for a specific table or in a schema.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_name | No |