Creating Session
Learn how to create a session and begin operating on it.
We'll cover the following...
Intro to sessions
Once the ORM is defined, we typically create a session and begin operating on it. Here, we create new records and add them to the database. We may want to run this interactively after we import the ORM with from orm import *
.
Creating session and create_all
First, we create a session
.
Session =
...