• 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: Behaviour of objectsWithFetchSpecification()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Behaviour of objectsWithFetchSpecification()


  • Subject: Re: Behaviour of objectsWithFetchSpecification()
  • From: Paul Hoadley <email@hidden>
  • Date: Fri, 23 Jan 2009 08:07:07 +1030

On 23/01/2009, at 2:16 AM, Mike Schrag wrote:

I guess I'm just asking for a sanity check. This can't be an uncommon use case---what do people do next? Use EOQualifier.filteredArrayWithQualifier() on the result? Am I overlooking something basic?
You use ERXFetchSpecification and setIncludeEditingContextChanges(true). It will automagically process your results to remove deleted objects and add inserted objects that would have matched the qualifier you provided (with the expection of doing things like limits, etc where it wouldn't really know not to add objects).

Outstanding. Thanks Mike.


-- Paul.

w  http://logicsquad.net/
h  http://paul.hoadley.name/


_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Behaviour of objectsWithFetchSpecification()
      • From: Mike Schrag <email@hidden>
References: 
 >Behaviour of objectsWithFetchSpecification() (From: Paul Hoadley <email@hidden>)
 >Re: Behaviour of objectsWithFetchSpecification() (From: Mike Schrag <email@hidden>)

  • Prev by Date: Re: last chance for stable
  • Next by Date: Re: Behaviour of objectsWithFetchSpecification()
  • Previous by thread: Re: Behaviour of objectsWithFetchSpecification()
  • Next by thread: Re: Behaviour of objectsWithFetchSpecification()
  • Index(es):
    • Date
    • Thread