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
Give users the ability to update and delete books in the database.
Challenges
- How could you combine the two menu functions to create one menu function?
- Is there a way to have the user tell you which values they want to change and then only prompt them to change those values instead of asking about each one?
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
What happens if they make
a mistake when entering a book or
0:00
what if the price changes?
0:02
Right now you can't do anything about it.
0:04
Also, what if you want to remove a book?
0:07
Let's introduce these
two features to our app.
0:11
We can add them as a part
of our search feature.
0:14
When someone searches for a book,
we can give them the option to edit,
0:17
delete or return to the main menu.
0:21
Let's handle this like our other menu,
by giving it its own function.
0:24
To keep similar things together,
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