当前位置:首页 > 数据库 > SQlite

sqlite3, IntegrityError: UNIQUE constraint failed when inserting a value

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   

本文系统来源:https://www.cnblogs.com/sddai/p/10592091.html


【说明】本文章由站长整理发布,文章内容不代表本站观点,如文中有侵权行为,请与本站客服联系(QQ:254677821)!