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.

Upsert in Coredata
 
 
Q