• 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: Core Data Fetches + Transient Properties + NSPredicateEditor = Sadness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Core Data Fetches + Transient Properties + NSPredicateEditor = Sadness (From: Jerry Krinock <email@hidden>)
 >Re: Core Data Fetches + Transient Properties + NSPredicateEditor = Sadness (From: Mike Abdullah <email@hidden>)
 >Re: Core Data Fetches + Transient Properties + NSPredicateEditor = Sadness (From: Jerry Krinock <email@hidden>)

  • Prev by Date: NSArray merge sorting
  • Next by Date: Re: Compiling a XIB creates a different NIB file everytime
  • Previous by thread: Re: Core Data Fetches + Transient Properties + NSPredicateEditor = Sadness
  • Next by thread: Cocoa program without xib file
  • Index(es):
    • Date
    • Thread