0

sqlite3 module - Python

Does AUTO_INCREMENT work in sqlite3 module in python? (If yes, do you type it AUTO_INCREMENT or AUTOINCREMENT?)

31st Jul 2021, 9:47 PM
Yahel
Yahel - avatar
2 Respostas
0
✩✮★✮✩ just saying, I figured out that by making the field an INTEGER and a PRIMARY KEY, the field automatically becomes an AUTO_INCREMENT field...
2nd Aug 2021, 6:50 PM
Yahel
Yahel - avatar
0
✩✮★✮✩ I just did that in my project and it worked perfectly, it auto incremented the "id" field.. without even using the AUTOINCREMENT keyword.
3rd Aug 2021, 11:50 AM
Yahel
Yahel - avatar