Get Foreign Keys
get_foreign_keysRetrieve foreign key relationships for a table in MySQL, PostgreSQL, SQLite, or SQL Server to identify dependencies and constraints.
Instructions
Show foreign key relationships for a table on MySQL, PostgreSQL, SQLite or SQL Server
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name | |
| database | No | Optional database to read from for this call only, without changing the active connection |