Re: Core Data Fetches + Transient Properties + NSPredicateEditor = Sadness
Re: Core Data Fetches + Transient Properties + NSPredicateEditor = Sadness
- Subject: Re: Core Data Fetches + Transient Properties + NSPredicateEditor = Sadness
- From: "Sean McBride" <email@hidden>
- Date: Mon, 20 Apr 2009 16:09:20 -0400
- Organization: Rogue Research Inc.
On 4/20/09 11:02 AM, Jerry Krinock said:
>But there's an even better way. Upon further study of the Predicate
>Programming Guide, I find that there are even more limitations to Core
>Data fetches with predicates. The most troubling is that:
>
>"The Core Data SQL store supports only one to-many operation per
>query; therefore in any predicate sent to the SQL store, there may be
>only one operator (and one instance of that operator) from ALL, ANY,
>and IN."
Anyone know of a way to catch such 'SQL-unfriendly' predicates at
compile time? Or with a static analyser?
It strikes me that if one currently develops with with XML store, and
then one day switches to the SQL store (say when it becomes compatible
with GC apps, grrr) when one is in for lots of things suddenly breaking.
--
____________________________________________________________
Sean McBride, B. Eng email@hidden
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden