sqlite3, IntegrityError: UNIQUE constraint failed when inserting a value

sqlite报错:

sqlite3.IntegrityError: UNIQUE constraint failed: IMAGESTATUE.ID

解决方案:

Change INSERT to INSERT OR IGNORE

  

原文地址:https://www.cnblogs.com/sddai/p/10592091.html