Re: Behaviour of objectsWithFetchSpecification()
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