阅读背景:

糖orm,如何删除重复记录?

来源:互联网 

I'm using sugar orm for a high scores database, and after a lot of searching(because the documentation is very pure and also some links are dead), I've managed to save and list the records from the database. Unfortunately I cannot find out how to delete the duplicated score records, or how to update a record instead of saving a new one in case the name and high score values are the same. I found that this can be done with something like this:I'm using sugar orm for a high scores database,




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: