marcoarment / FCModel

An alternative to Core Data for people who like having direct SQL access.
MIT License
1.65k stars 173 forks source link

Clearing cache does not seem to work #106

Open thijsnado opened 9 years ago

thijsnado commented 9 years ago

I need to synch with records stored from server time to time and the way I've been trying to do that is delete all the records in a table and than pull from the server. The issue with this approach is that if you try to resave something that was deleted, it is cached and pulls the deleted one by primary key. Would it be possible to clear the cache before or after a delete so when they are pulled from the server, it does not blow up?