Start a new topic

Compound Query

how to write compound query

Ex: KCSQuery* query1 = [KCSQuery queryOnField: FirstField withExactMatchForValue: Sometext1];

KCSQuery* query2 = [KCSQuery queryOnField: SecondField withExactMatchForValue: Sometext2];



I want How to combine these two queries.
1 Comment

You can combine queries with the addQuery: method



[query1 addQuery:query2]



http://devcenter.kinvey.com/ios/guides/datastore#CompoundQueries
Login or Signup to post a comment