list_constraints
Inspect a table's primary key, foreign key, unique, and check constraints, including columns and references, to understand its structure and relationships.
Instructions
List constraints on a table (primary key, foreign key, unique, check) with their columns and references.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | Table name. | |
| schema | No | Schema (owner) of the object. Optional — defaults to the server's current schema; omit rather than guess. |