In the "Constraints and Limitations" section of the Predicate
Programming Guide
(http://developer.apple.com/documentation/Cocoa/Conceptual/Predicates/Articles/pBasics.html#//apple_ref/doc/uid/TP40001792-249799),
the second bullet states than only one operator (ALL, IN, ANY) and
only one instance of that operator per query. I can't find any
reference to such a limitation in the SQLite documentation, so I
assume that this is an NSPredicate or Core Data limitation. From the
doc, it seems that a predicate with a format @"self.first_name IN
{'Joe', 'Bob', 'Bertha'} OR self.last_name IN {'Smith', 'Jones'}" is
illegal. It seems that this is quite restrictive. In true lazy web
style, can any one confirm whether this restriction is really per
query or whether it is per clause in a compound predicate?

Thanks,
Barry
_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to