#100DaysOfCode in Python Transcripts
Chapter: Days 91-93: Database access with SQLAlchemy
Lecture: Your turn: Day 3
0:00 Final day of SQLAlchemy,
0:01 you've got your app selected,
0:04 got it running, you've modeled your classes
0:06 and created your database structure.
0:08 Now you just need to work with your data.
0:10 So you're going to insert some records,
0:12 save some data and insert it,
0:14 and then somewhere do a query.
0:16 Do a session.query of the type of query you want,
0:19 and just look back at the example.
0:21 We should have a variety of types of queries.
0:23 You should be able to make one of those
0:24 adaptable to what you're doing.
0:26 So just use this database, put some data in it,
0:30 and make your application more awesome from it.
0:33 All right, I hope enjoyed SQLAlchemy.
0:34 It's really a wonderful way to work with databases,
0:37 one of the more popular and flexible ones at that.