简体   繁体   中英

Android - How to avoid repetition of values before inserting in SqliteDB?

在我的应用程序中,我应该记录一周中所有天的值。星期六,日,星期一等,我应该在图中绘制值以显示一些统计信息。所以在记录时,如果我已经记录了一周中的前一天,我该如何删除它?然后记录新值?

检查它是否已经全部创建,然后使用UPDATE覆盖新数据:-)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM