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
На этой странице сайта вы можете посмотреть видео онлайн Treeview Primary Key With SQLite3 - Python Tkinter GUI Tutorial длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Codemy.com 04 Май 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 18,644 раз и оно понравилось 415 зрителям. Приятного просмотра!