Skip to content

Glossary: Building APIs with FastAPI

Table model

Also written: table=True

A SQLModel class with `table=True`, which creates a database table. Unlike the other models, it does no validation, so never accept it directly from clients.

Where the book teaches it

Related terms

SQLModelPrimary key