Query IOS

func findContactByName() {

let whereClause = “name = ‘Jack Daniels’”
let dataQuery = BackendlessDataQuery()
dataQuery.whereClause = whereClause

var error: Fault?
let bc = backendless.data.of(Contact.ofClass()).find(dataQuery, fault: &error)
if error == nil {
print(“Contacts have been found: (bc.data)”)
}
else {
print(“Server reported an error: (error)”)
}
}
How can i add more query ?

more query to do what?

how can i put two condition in where clause

See examples here:

https://backendless.com/documentation/data/ios/data_search_and_query.htm

Thanks

After query how can i get the data from it ?

After query how can i get the data from it ?

See you very first post in this topic. The variable “bc” contains the result. Use the debugger and see what you get back from the server.