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
And, like anything else we do, eventually we're going to write an entry that we just don't like or need and we'll want to get rid of it. Let's use Peewee to remove records from the database.
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
I mean, what if you delete the wrong row?
0:00
Everyone breaks their production database
eventually but
0:02
let's not let that be you or me today.
0:04
I wanna be able to delete an entry that I
don't want anymore.
0:08
And while, I mean, I, I suppose we could
do like a delete entry in the menu,
0:12
and then you put in a number or something.
0:16
I think it makes the most sense to delete
the entry while I'm reading it.
0:18
So, let's go.
0:22
You view entries.
0:27
Yep, our old friend view entries.
0:28
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