On 3/5/10 10:18 PM, Joanna Carter said:

>> So, here is my plea for help.  I have a predicate of the form:
>"<character string> BEGINSWITH path".  In other words, I am searching
>entities that possess a (string) property "path" to look for one whose
>path is a prefix of some string (which is inserted into the predicate
>via the fetch-request-template variable substitution).  This fetch
>executes just fine on an XML store.  The same fetch on an SQL store
>yields:  unimplemented SQL generation for predicate ("/Volumes/MacHD/
>Applications/Utilities" BEGINSWITH path).
>
>You need to think about how a predicate would work against a SQL store.

But you shouldn't have to... Core Data is "not a database" and its use
of SQL is an implementation detail.  One shouldn't have to know anything
about SQL to use Core Data.  Of course, in practice, such knowledge is
helpful, as you say.

--
____________________________________________________________
Sean McBride, B. Eng                 s...@rogue-research.com
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada


_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to