as can be seen in the documentation the syntax to make insert or update is : INSERT OR REPLACE INTO () VALUES (), my 8条回答 天涯浪人 (楼主) 2020-12-04 10:13 SQLiteDatabase.replace() is probably what you are looking for. I haven't tried it but the doc says it returns the row ID of the newly inserted row, so it may work. 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
INSERT OR REPLACE INTO () VALUES (), my 8条回答 天涯浪人 (楼主) 2020-12-04 10:13 SQLiteDatabase.replace() is probably what you are looking for. I haven't tried it but the doc says it returns the row ID of the newly inserted row, so it may work. 0 讨论(0) 查看其它8个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
SQLiteDatabase.replace() is probably what you are looking for. I haven't tried it but the doc says it returns the row ID of the newly inserted row, so it may work.