Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
基本上,如果给定条目(通过其主键 ID)不存在,我想插入,否则更新。最好的方法是什么?
sqllite 没有REPLACE命令吗?或者ON CONFLICT REPLACE?
REPLACE
ON CONFLICT REPLACE