Re: Little help with a qualifier
Re: Little help with a qualifier
- Subject: Re: Little help with a qualifier
- From: Lachlan Deck <email@hidden>
- Date: Wed, 15 Jul 2009 08:43:01 +1000
On 14/07/2009, at 10:31 PM, David Avendasora wrote:
Gustavo,
This uses Wonder's ERXKey syntax which I like the best:
EOQualifier qual =
WG
.TSXWG
.dot
(TSxWG
.TRANSLATIONSET
.dot
(TranslationSet
.TOUSER)).contains(((Session)session()).authenticatedUser());
That'd be containsObject rather than contains(String)
That should give you a qualifier that when applied to an NSArray of
WG objects will filter it down to only the WGs that are associated
with the authenticatedUser().
with regards,
--
Lachlan Deck
_______________________________________________
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