Hi Sean

> 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.

You have a point but, in theory, predicates against lists of objects usually 
take either the form:

<value of a property> <operator> <constant value>

... or possibly:

<value of a property> <operator> <value of another property>

Some predicates might be usable between two constant values but I have never 
seen one used, even with lists of objects, as:

<constant value> <operator> <value of a property>

Such a construct might work in the context of an XML file because the lefthand 
term could be interpreted as the name of a key but, not normally in a where 
clause in a database.

Joanna

--
Joanna Carter
Carter Consulting

_______________________________________________

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