Treeview Primary Key With SQLite3 - Python Tkinter GUI Tutorial

Pubblicato il: 04 maggio 2021
sul canale di: Codemy.com
18,644
415

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


In questa pagina del sito puoi guardare il video online Treeview Primary Key With SQLite3 - Python Tkinter GUI Tutorial della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Codemy.com 04 maggio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 18,644 volte e gli è piaciuto 415 spettatori. Buona visione!