One-to-Many Relationships with SQLAlchemy 2.0

Описание к видео One-to-Many Relationships with SQLAlchemy 2.0

In this video, we shall explore One-to-Many Relationships with SQLAlchemy 2.0. We look at how we can configure a one-to-many relationship by creating a simple database for university programs and courses. We look at concepts such as connecting to the database, defining models, and also how we can SQLAlchemy's powerful ORM to easily manipulate data with relationships.

#python #sqlalchemy #orm #onetomany


READ MORE:
https://docs.sqlalchemy.org/en/20/orm...

SOURCE CODE:
https://github.com/jod35/OnetoMany-SQ...

GITHUB:
https://github.com/jod35


TIMESTAMPS:

(00:00) Introduction
(01:01) Project set up
(02:00) Connecting to an SQLite database
(07:19) Define database models
(21:52) Create the tables in the database
(25:08) Defining reverse relationships
(31:35) Populating the database
(46:19) Using relationships to retrieve items

Комментарии

Информация по комментариям в разработке