• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: EOQualifier on a toMany attribute
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: EOQualifier on a toMany attribute
      • From: Chuck Hill <email@hidden>
References: 
 >Re: EOQualifier on a toMany attribute (From: Martin Fled <email@hidden>)
 >Re: EOQualifier on a toMany attribute (From: Dev WO <email@hidden>)
 >Re: EOQualifier on a toMany attribute (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: EOQualifier on a toMany attribute
  • Next by Date: Re: EOQualifier on a toMany attribute
  • Previous by thread: Re: EOQualifier on a toMany attribute
  • Next by thread: Re: EOQualifier on a toMany attribute
  • Index(es):
    • Date
    • Thread