当前位置:Gxlcms > 数据库问题 > sqlite3, IntegrityError: UNIQUE constraint failed when inserting a value

sqlite3, IntegrityError: UNIQUE constraint failed when inserting a value

时间:2021-07-01 10:21:17 帮助过:7人阅读

sqlite报错:

sqlite3.IntegrityError: UNIQUE constraint failed: IMAGESTATUE.ID

 

解决方案:

Change INSERT to INSERT OR IGNORE

  

sqlite3, IntegrityError: UNIQUE constraint failed when inserting a value

标签:sqlite3   insert   ignore   pre   sqlite   方案   nbsp   const   erro   

人气教程排行