Re: Using UNION in EOFetchSpecification
Re: Using UNION in EOFetchSpecification
- Subject: Re: Using UNION in EOFetchSpecification
- From: Stavros Panidis <email@hidden>
- Date: Sun, 06 Oct 2013 17:58:19 +0300
Hi Raymond,
like below…
EOFetchSpecification fsSpecial = new EOFetchSpecification("Designs", specialQualifier, null); tempArray = ecQuery.objectsWithFetchSpecification(fsSpecial); NSSet specialSet = new NSSet(tempArray); if (intersection) resultsSet = currentResultsSet.setByIntersectingSet(specialSet); else if(subtraction) resultsSet = currentResultsSet.setBySubtractingSet(specialSet); else if(union) resultsSet = currentResultsSet.setByUnioningSet(specialSet);
I hope it is what you are asking for.
Stavros
On 6 Οκτ 2013, at 1:43 π.μ., Raymond NANEON < email@hidden> wrote: Hi Stravos,
You use NSSet? What syntax do you use in the eofetchspecification?
Thanks Envoyé de mon iPad
Le 5 oct. 2013 à 16:22, Stavros Panidis < email@hidden> a écrit :
I use NSSet.
(If I understood your question!)
Stavros Panidis
|
_______________________________________________
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