Skip to content

Glossary: Building APIs with FastAPI

Relationship

Also written: Relationship(), back_populates

An attribute that isn't a column but gives you linked rows of another table as objects, such as `order.lines` or `line.order`.

Where the book teaches it

Related terms

Foreign keyTable model