• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Batch faulting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Batch faulting
      • From: mmalcolm crawford <email@hidden>
    • Re: Batch faulting
      • From: mmalcolm crawford <email@hidden>
References: 
 >Batch faulting (From: Timothy Larkin <email@hidden>)
 >Re: Batch faulting (From: Miguel Sanchez <email@hidden>)

  • Prev by Date: Re: Hard linked files cannot be modified
  • Next by Date: Re: Batch faulting
  • Previous by thread: Re: Batch faulting
  • Next by thread: Re: Batch faulting
  • Index(es):
    • Date
    • Thread