NewLifeX / NewLife.XCode

数据中间件,支持MySQL、SQLite、SqlServer、Oracle、Postgresql、TDengine、达梦,重点在缓存、性能、分表、自动建表。
https://newlifex.com/xcode
MIT License
74 stars 33 forks source link

SQLite异步SaveAsync 执行Insert Into Table Do Update操作缺少主键填充,执行了Insert #6

Closed ligengrong closed 2 years ago

ligengrong commented 2 years ago

原SQL:Insert Into Table (text) On Conflict(Id) Do Update test=a.text 修改后:Insert Into Table (id, text) On Conflict(Id) Do Update test=a.text