Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Behaviour of objectsWithFetchSpecification()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Behaviour of objectsWithFetchSpecification()



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
References: 
 >Behaviour of objectsWithFetchSpecification() (From: Paul Hoadley <email@hidden>)
 >Re: Behaviour of objectsWithFetchSpecification() (From: Mike Schrag <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.