Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
Well done!
You have completed SQLAlchemy Basics!
You have completed SQLAlchemy Basics!
Preview
Create a model for your book database using a CSV of books as your template. Import your model into your main app file.
This video doesn't have any notes.
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign upRelated Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
From sqlalchemy import, and
0:00
we're going to do create_engine,
0:04
Column, Integer, String, and
0:09
Date cuz we'll need that for
the published date column.
0:13
And since this is getting a little long,
I'm gonna put these in parentheses so
0:21
then I can split them
onto multiple lines here.
0:27
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up