sqlite3, IntegrityError: UNIQUE constraint failed when inserting a value

sqlite報錯:python

sqlite3.IntegrityError: UNIQUE constraint failed: IMAGESTATUE.IDsql

 

解決方案:sqlite

Change INSERT to INSERT OR IGNORE
相關文章
相關標籤/搜索