Danger You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software Click here to go to the new docs pages.
Danger
You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software
Click here to go to the new docs pages.
Metadata.
get_foreign_keys
Get the name of all the fields in the child that are foreign keys to this parent.
If there is no relationship between the two tables an empty list is returned.
parent (str) – Name of the parent table.
child (str) – Name of the child table.
List of foreign key names.
list[str]