Re: EOQualifier on a toMany attribute
Re: EOQualifier on a toMany attribute
- Subject: Re: EOQualifier on a toMany attribute
- From: Arturo Perez <email@hidden>
- Date: Tue, 14 Feb 2006 11:18:48 -0500
Chuck Hill wrote:
Early. Little coffee. May still be delusional.
argsStorage = new NSMutableArray();
argsStorage.addObject(selectedFormFactor); // this is a toOne
argsStorage.addObject(selectedFormType); // this is a toOne
argsStorage.addObject(selectedConnector); // this is the toMany
that doesn't return any results, I'm just selecting one connector in
the UI with a WOPopup
qualStorage =
EOQualifier.qualifierWithQualifierFormat("(productFormFactor = %@)
and (productFormType = %@) and (productExternalConnectors = %@)",
argsStorage);
I'm thinking that this should be
(productExternalConnectors contains %@)
Also, I was under the impression that this just does not work at the
RDBMS level, contains or =. At least for most databases. I recall
that it once did work with FrontBase via some tweaking of the SQL by
the plugin. Take a look at ExistsInRelationshipQualifier on
http://homepage.mac.com/i_love_my/code.html
OK, back to this coffee.
Chuck
Do you recall what was wrong with it? Maybe I'll muck with the pgSQL
adapter in Wonder to make it work.
-arturo
_______________________________________________
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