pg_list_constraints
List foreign keys, primary keys, and check constraints on a PostgreSQL table in a specified schema.
Instructions
List constraints (foreign keys, primary keys, check constraints) on a table in the specified schema.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | Yes | ||
| schema | No | Schema to filter by. Defaults to the connection's defaultSchema (or 'public'). | |
| connectionId | No | Id of the postgres connection to use, from databases.config.yml. Optional when only one postgres connection is configured. |