in the typical CoreData example, if I want to fetch all departments
whose employees have a salary higher than a specified value, I will
perform a fetch on the Department entity using a predicate with the
following format:
ANY employees.salary %@
This is working fine.
Now I want to fetch all
On Aug 21, 2009, at 11:13 AM, Frank Illenberger wrote:
ANY (employees.salary %@ AND employees.dateOfBirth %@
But it doesn't. Does anybody know if there is a way to use the ANY
statement with more than one condition?
Are you using the sqlite store type? ANY can't be used in a
compound
ANY (employees.salary %@ AND employees.dateOfBirth %@)
But it doesn't. Does anybody know if there is a way to use the ANY
statement with more than one condition?
Are you using the sqlite store type? ANY can't be used in a
compound predicate (AND) with the sqlite store type.
Yes, I am
On Aug 21, 2009, at 11:31 AM, Frank Illenberger wrote:
Yes, I am using an sqlite store, but I tried it with the other
store types and it did not work either. What would a working
predicate look like for other store types?
I didn't catch this at first, but you said you're fetching
Am 21.08.2009 um 17:49 schrieb I. Savant:
On Aug 21, 2009, at 11:31 AM, Frank Illenberger wrote:
Yes, I am using an sqlite store, but I tried it with the other
store types and it did not work either. What would a working
predicate look like for other store types?
I didn't catch this
Everything I.S. said is true, and as far as I know you're out of luck.
You might want to log into Bug Reporter and second my bug 6857142:
05-May-2009 07:05 AM
Jerry Krinock: Summary: Core Data's fetches cannot handle arbitrary
predicates produced by NSPredicateEditor
Steps to Reproduce:
1.