0

I'm trying to fetch RLMObjects based on Type property of the RLMObject.

Here are the few predicate string I tried, some worked and some didn't :

 @"location = 'Canada' and Type = 'Call'"                     //works well

 @"location = 'Canada' and Type = 'Call' or Type = 'Meeting'" //failed

 @"location = 'Canada' and Type = 'Call' or Type = 'Meeting' or Type = 'Reminder'" //failed

Why the last two predicate strings failed ?

Teja Nandamuri
  • 11,045
  • 6
  • 57
  • 109

0 Answers0