loading
loading
A database field that points from one table to a row in another table.
Foreign keys connect records, such as an invoice pointing to its user. They help keep relationships consistent as data changes.
Plainly
Think of Foreign Key as a labeled box where an app keeps important things. A database field that points from one table to a row in another table.
In practice
Use it when a feature reads, writes, migrates, validates, or audits stored information. In practice, define the owner, input, output, and failure mode before you rely on it.