In this video we'll update our treeview to use the SQLite3 Primary Key ID number for each record instead of the dummy ID number we created earlier.
Primary keys are unique ID numbers that SQLite3 creates for each record in the database. It's important to use those ID's when referencing a record because they are unique. There may be 10 John Elder's in the database, but there is only one John Elder with Primary Key 12 (or whatever).
In this video we'll update our treeview to use those Primary Key ID Numbers.
#tkinter #codemy
Timecodes
0:00 - Introduction
1:19 - What is a Database Primary Key
2:32 - What is the Database Returning?
3:23 - Print Database Table To Terminal
4:20 - Query rowid From Database Table
5:34 - Update Treeview App With Primary Key
8:44 - Confirm Entry Boxes Still Work As Expected
10:33 - Conclusion
Sur cette page du site, vous pouvez voir la vidéo en ligne Treeview Primary Key With SQLite3 - Python Tkinter GUI Tutorial durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Codemy.com 04 mai 2021, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 18,644 fois et il a aimé 415 téléspectateurs. Bon visionnage!