Skip to content

Glossary: Building APIs with FastAPI

Primary key

Also written: primary_key

The column that uniquely identifies each row, here `id`. The database fills it in when a row is saved.

Where the book teaches it

Related terms

Foreign keyTable model