Re: Core Data: using array operators in a fetch spec?
Re: Core Data: using array operators in a fetch spec?
- Subject: Re: Core Data: using array operators in a fetch spec?
- From: Scott Ellsworth <email@hidden>
- Date: Wed, 17 Aug 2005 10:47:44 -0700
On Aug 17, 2005, at 9:50 AM, Terrence Talbot wrote:
A shorthand way to express this would be to ask for all managers
where "employees.@count >= 5". Very easy to express, but apparently
not useable, at least as formulated above, in a fetch
specification. Please correct me if I'm wrong.
I, too, would like the answer to this. The one that I keep needing
is 'all relatedthingies to entity where relatedthingies.attribute >=
max(relatedthingies.attribute)-2' to get the ones near the top of the
range.
I solved this by bringing all entities into RAM and iterating by
hand, but I do not find that very satisfying.
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden