I have syncState
boolean attribute in my Answers Entity
which is not mapped. I get records of Answer Entity
from server using RkEntity Mapping
. I want to save/update
already existing records only if syncState
of already existing
records is Synced
and ignore records fetched from server if syncState of already existing records is UnSynced
.
I was thinking of overriding willSave
of Answers Entity
and ignore saving but that method can be used to update some records and not avoid saving managed object.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…