mirror of
https://github.com/zhigang1992/MagicalRecord.git
synced 2026-01-12 17:32:18 +08:00
Include all sub entities by default when deleting using a predicate
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user