Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 345 Bytes

File metadata and controls

13 lines (10 loc) · 345 Bytes

Realm-createOrUpdateObjectFromJson-Test

Testing createOrUpdateObjectFromJson

####Result

  • createOrUpdateObjectFromJson
    • Does not working for duplicated primary key value
    • Very picky to use
  • copyToRealmOrUpdate
    • Works perfectly
    • Easy to use

So what is difference between createOrUpdateObjectFromJson & copyToRealmOrUpdate...