Re: Single "query" on multiple attributes
Re: Single "query" on multiple attributes
- Subject: Re: Single "query" on multiple attributes
- From: "Jonathan 'Wolf' Rentzsch" <email@hidden>
- Date: Sun, 11 Jul 2004 12:45:14 -0500
Steve Sharman, email@hidden, wrote:
>eg: if query1 is green, I'd like to return any objects that have
>"green" stored in any of attributes type1, type2, type3.
>
>Is a qualifier the right way to go? Any advice as always very
>gratefully received.
Yes. Write a fetch spec and pop it into your EOModel:
((type1=$query1)or(type2=$query1)or(type3=$query1))
| Jonathan 'Wolf' Rentzsch http://rentzsch.com
| Red Shed Software http://redshed.net
| "better" necessarily means "different"
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.