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 Using Databases in Python!
You have completed Using Databases in Python!
Preview
So, what is an ORM and why would you want to use one? Let's talk about that and get our chosen one, Peewee, installed.
Links
- Peewee's docs
- Connecting to PostgreSQL
- Connecting to MySQL
- Database Foundations
- Charles Leifer's tutorial
I heavily suggest checking out other posts on his site. He has some great project ideas!
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
Structured Query Language, which is the
language that most common databases speak.
0:00
SQL is amazingly powerful, but for day to
day tasks, it can be pretty daunting, and
0:04
it's definitely a great way to shoot
yourself squarely in the foot.
0:09
Since most of us like not shooting
ourselves in the feet,
0:13
we have great software projects known as
ORMs.
0:15
It's an acronym that stands for Object
Relational Mapping.
0:19
Sadly, the words don't make it make sense
right away.
0:22
It's a piece of software that turns
objects in your code,
0:25
into rows in your database, and vice
versa.
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