magicalpanda / MagicalRecord

Super Awesome Easy Fetching for Core Data!
Other
10.8k stars 1.79k forks source link

Is it possible or not: Import Data with “relatedByAttribute”? #1233

Open maheshcs039 opened 8 years ago

maheshcs039 commented 8 years ago

https://stackoverflow.com/questions/37256886/magica-record-import-data-with-relatedbyattribute

I'm using Magical Records pod in my Swift project. And I'm quite familiar with using relatedByAttribute, as this works only on 1 attribute.. But my question is how to have it on 2 different Attributes? is it Possible to have it? As I have some situation where I want to avoid duplicate values based on 2 attributes in Entity.