This Lesson is for PRO Members

Subscribe today and get access to all lessons! Plus direct HD download for offline use, enhances transcripts, member comment forums, and iTunes "podcast" RSS feed. Level up your skills now!

Unlock This Lesson

Already subscribed? Sign In

Autoplay
Hide playlist

    Create a one to many relationship in Python using SQLAlchemy

    In this lesson, you will learn how to create a one to many relationship between two database tables using SQLAlchemy. Tasks covered include:

    • creating a child table
    • defining a foreign key in the child table
    • creating the relationship between the parent and child table
    • demonstrate usage in Python
    • view the data created in a local sqlite database
    Please take a moment to tell your friends:

    You must be a PRO Member to view code