顺便说一句永久存储是记忆,我想知道它是否合理
以下是3行代码:
PO(request);
fetchedObjects = [moc executeFetchRequest:request error:&error];
PO(fetchedObjects);
请求对象:
request: <NSFetchRequest: 0x8eba110> (entity: Business; predicate: (ID IN {"monumen-selamat-datang__-6.19_106.82"}); sortDescriptors: ((null)); type: NSManagedObjectResultType; returnsObjectsAsFaults: NO; relationshipKeyPathsForPrefetching: ((
Aliases,
Building,
City,
DistanceGrouping,
Districts,
Images,
LatitudeLongitude,
OpeningHour,
Phones,
Promotions,
Rating,
RatingGroup,
Reviews,
Tags,
Tenants,
URLs
)); )
显然,你可以看到它有returnsObjectsAsFaults: NO
返回值:
fetchedObjects: (
"<Business: 0x8ebf3e0> (entity: Business; id: 0x8c4af70 <x-coredata://0111F3D9-6254-4037-AC80-5FEBECEB2343/Business/p332> ; data: <fault>)"
)
它包含:data: <fault>