Include all sub entities by default when deleting using a predicate

This commit is contained in:
Saul Mora
2011-12-11 13:19:08 -07:00
parent 52aaff9487
commit be9d5c44ee

View File

@@ -680,7 +680,6 @@ static NSUInteger defaultBatchSize = kMagicalRecordDefaultBatchSize;
{
NSFetchRequest *request = [self MR_requestAllWithPredicate:predicate inContext:context];
[request setReturnsObjectsAsFaults:YES];
[request setIncludesSubentities:NO];
[request setIncludesPropertyValues:NO];
NSArray *objectsToTruncate = [self MR_executeFetchRequest:request inContext:context];