On 13 May 2016, at 10:18 am, David Aspinall <[email protected]> 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 protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
