modo-studio / SugarRecord

CoreData/Realm sweet wrapper written in Swift
MIT License
2.11k stars 223 forks source link

how to update an record ? #350

Open patriksharma opened 4 years ago

patriksharma commented 4 years ago

What

Well I want to update an record which is already inserted.

Context

I'm saving records in the database. For example I saved data in db at 1:50 PM and now I sync app at 2:50 PM and want to update the same records , but It do Insert of new record. I tried finding the update function but no success