Functionsยง
- list_
foreign_ keys - Reads foreign keys for every table in
db_schema, grouped by the owning (FK/child) table name. Composite foreign keys are paired column-by-column usingkey_column_usage.position_in_unique_constraint, which correctly lines up each FK column with its referenced column regardless of declaration order (the Java original grouped byKEY_SEQper side independently, which risked mis-pairing columns for composite keys).