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
Name | Required | Description | Default |
---|---|---|---|
table_name | No |
Input Schema (JSON Schema)
{
"properties": {
"table_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Table Name"
}
},
"title": "get_table_relationshipsArguments",
"type": "object"
}