Upsert in Coredata

Is there a way to perform a upsert operation in coredata just like SQL?


Upsert is search for a record, if exists update it or insert it.

Replies

Seen the discussion in the 2017 SO thread?


https://stackoverflow.com/questions/47763277/most-efficient-way-to-insert-update-records-with-core-data