I have two Tables as bellow:
table series
:
+-------------+
| Field |
+-------------+
| series_id |
| title |
+-------------+
table season
:
+-------------+
| Field |
+-------------+
| season_id |
| title |
| version |
| duration |
| series_id |
+-------------+
In season
, series_id
as foreign key referees from series(series_id)
Now I want load these two table via sqlalchemy. Is that possible to build a one-to-many relationship between these two tables so that I can access all seasons object of one series?