ForeignKeyInfo
You get foreign keys from table names, with the
foreignKeys(on:)
method.
-
The first column in the output of the
foreign_key_list
pragma -
The name of the destination table
-
The column to column mapping
-
The origin columns
-
The destination columns