Skip to main content

Module list_foreign_keys_tool

Module list_foreign_keys_tool 

Source
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§

ForeignKeyInfo
A single column mapping within a foreign key constraint. Multiple rows with the same id indicate a composite foreign key that spans more than one column.
ListForeignKeysInput
The input parameters for the list_foreign_keys tool.
ListForeignKeysOutput
The result of listing foreign keys for a table.
ListForeignKeysTool
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§

ListForeignKeysError
Errors specific to the list_foreign_keys tool.