Re: [RESOLVED] Core Data request predicates and to-many relationships

2008-12-08 Thread Kyle Sluder
On Mon, Dec 8, 2008 at 8:05 PM, Luke Evans <[EMAIL PROTECTED]> wrote: > Of course, when you drill into the docs on NSExpression, there's some pretty > nice discussion on SUBQUERY, but it might be nice to lift some of this > material to the Predicate Programming Guide at some point - it had been a >

[RESOLVED] Core Data request predicates and to-many relationships

2008-12-08 Thread Luke Evans
OK, thanks again for the tips; SUBQUERY works fine. I'm actually querying for a collection of attribute matches, which translates to a range of SUBQUERYs in a compound predicate. Of course, when you drill into the docs on NSExpression, there's some pretty nice discussion on SUBQUERY, but

Re: Core Data request predicates and to-many relationships

2008-12-08 Thread Melissa J. Turner
On Dec 8, 2008, at 14:47, Luke Evans wrote: Thanks for the reply Melissa - much appreciated. I was beginning to toy with the idea of trying a function expression (which I have used before for other purposes) to isolate an individual attribute object and perform the several comparisons th

Re: Core Data request predicates and to-many relationships

2008-12-08 Thread Luke Evans
Thanks for the reply Melissa - much appreciated. I was beginning to toy with the idea of trying a function expression (which I have used before for other purposes) to isolate an individual attribute object and perform the several comparisons therein. Presumably SUBQUERY, being designed for th

Re: Core Data request predicates and to-many relationships

2008-12-08 Thread Melissa J. Turner
On Dec 6, 2008, at 01:45, Luke Evans wrote: If there are any NSPredicate gurus out there, I'm scratching my head on this one: I have an entity that can optionally have a set of attributes (name- value pairs). This is set up in the model as a optional to-many relationship to an attribute

Core Data request predicates and to-many relationships

2008-12-06 Thread Luke Evans
If there are any NSPredicate gurus out there, I'm scratching my head on this one: I have an entity that can optionally have a set of attributes (name- value pairs). This is set up in the model as a optional to-many relationship to an attribute entity. Now, I want to fetch the list of manage