core-data
core-data copied to clipboard
how to set primaryKey
You do no get access to a primary key. CoreData is not a database.
Thanks! And would you know how to ensure that the model is not repeatedly inserted. Now I can only query to see if it exists, and then decide whether to update or insert it.
I konw how to handle it already! Thank you!