magicalpanda / MagicalRecord

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

includesPendingChanges with MR_findAllWithPredicate ? #1326

Open JimmyYezeguelian opened 6 years ago

JimmyYezeguelian commented 6 years ago

Hi, I'm wondering if when retrying objects with: MR_findAllWithPredicate:, includesPendingChanges was activated ?

I've make another method using:

NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] initWithEntityName:[Entity MR_entityName]];
fetchRequest.includesPendingChanges = YES;
fetchRequest.predicate = [NSPredicate predicateWithFormat:@"issueId == %@", issueId];
NSArray *array = [Entity MR_executeFetchRequest:fetchRequest];

Thanks you in advance.