How do I check if there's a certain item in database when using Room in Android using Java?

前端 未结 0 1340
北海茫月
北海茫月 2021-02-11 07:17

I want to check if I have a given parameter value in my Room database using Java. If it is there then I just update the record, otherwise I insert a new one. How can I get this

相关标签:
回答
  • 消灭零回复
提交回复
热议问题