0
通过RestKit林加载XML看起来像:RestKit核心数据 - 映射没有主键
<item>
<test_number>1</test_number>
<test_question>test question</test_question>
<test_answer>test answer</test_question>
</item>
<item>
<test_number>2</test_number>
<test_question>test question 2</test_question>
<test_question>test question 2</test_question>
</item>
...
在我的核心数据我有这已经得到了我的数据项的对象。如果正在加载xml,我想让我的核心数据对象更新,只有当对象不存在于核心数据中时才会插入。通常我会设置RestKit能够识别哪个对象可以更新的主键。但在我的情况下,我可以有多个具有相同测试编号的项目,但其他问题和答案。所以没有主键。我如何在RestKit中做这个映射?