• 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: Qualifier to match on content of two to-many relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Qualifier to match on content of two to-many relationships


  • Subject: Re: Qualifier to match on content of two to-many relationships
  • From: Paul Hoadley <email@hidden>
  • Date: Fri, 13 May 2016 11:43:40 +0930

On 13 May 2016, at 10:18 am, David Aspinall <email@hidden> wrote:

> Nope, no aliens, and definitely not Drumpf!

Sorry David—I’d forgotten that “David A” wasn’t specific enough! I actually meant Avendasora.

> I’m not sure what you are optimizing for here.

Just elegance, really.

> Is this a slow running query?  I can’t imagine you have more that a handful of roles in the db total.  Would it be easier to just do something like
>
> 	NSArray<Notice> notices = user.roles().valueForKey(“notices”);
>
> you might have to remove duplicates but that’s easy.
>
> Maybe I misunderstood the problem.

Probably not—I just thought I might have overlooked a specific qualifier or ERXKey shortcut for this purpose.


--
Paul Hoadley
http://logicsquad.net/



 _______________________________________________
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


References: 
 >Qualifier to match on content of two to-many relationships (From: Paul Hoadley <email@hidden>)
 >Re: Qualifier to match on content of two to-many relationships (From: Paul Hoadley <email@hidden>)
 >Re: Qualifier to match on content of two to-many relationships (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Closure of WOCommunity Association
  • Next by Date: Re: Qualifier to match on content of two to-many relationships
  • Previous by thread: Re: Qualifier to match on content of two to-many relationships
  • Next by thread: Re: Qualifier to match on content of two to-many relationships
  • Index(es):
    • Date
    • Thread