Re: Batch faulting
Re: Batch faulting
- Subject: Re: Batch faulting
- From: Timothy Larkin <email@hidden>
- Date: Wed, 16 Nov 2005 19:41:42 -0500
Yes, but this doesn't work. I've tried it. Objects that are faults
before the suggested fetch are faults after the fetch. In any event,
"EOF supports pre-fetching and batch faulting of relationships, Core
Data does not." (From the CoreData FAQ") And my search transverses a
relationship.
On Nov 16, 2005, at 6:20 PM, Miguel Sanchez wrote:
Sometimes a number of objects may be represented by faults. If each
fault is fired individually, then Core Data performs a separate
round trip to the persistent store for each. This incurs a
comparatively high overhead. Instead, you can "batch fault" a
collection of objects by executing a fetch request using a
predicate with an IN operator, as illustrated in the following
example.
--
Timothy Larkin
Abstract Tools
Caroline, NY
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden