Expand description
The list_foreign_keys tool: returns all foreign key constraints defined on
a given table. Each row from SQLite’s PRAGMA foreign_key_list becomes one
entry in the result, so composite foreign keys appear as multiple entries
sharing the same id.
Structs§
- Foreign
KeyInfo - A single column mapping within a foreign key constraint. Multiple rows with
the same
idindicate a composite foreign key that spans more than one column. - List
Foreign Keys Input - The input parameters for the
list_foreign_keystool. - List
Foreign Keys Output - The result of listing foreign keys for a table.
- List
Foreign Keys Tool - List all foreign key constraints for a given table. Returns one entry per column mapping, including the referenced table, the local and remote columns, and the ON UPDATE / ON DELETE actions. Composite foreign keys produce multiple entries that share the same id.
Enums§
- List
Foreign Keys Error - Errors specific to the
list_foreign_keystool.