I have a table with an integer field. I want to select all rows where that field contains any of a few different values.
I'm using this:
[NSPredicate predicateWithFormat:@"myIntValue IN {1,2,3,4}"]
but this only returns rows where myIntValue
is 1.
What am I doing wrong?