Android SQLite Insert or Update

后端 未结 8 1943
太阳男子
太阳男子 2020-12-04 09:38

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:29

    this is your method SQLiteDatabase.insertWithOnConflict(). to understand what it does refer to this document on sqlite

提交回复
热议问题