Hi Backendless Team,
I have a problem. Why this code get error ? ( invalid Where Clause ) user_id that in house table column is related with users table.
let user = backendless.userService.currentUser
let query = BackendlessDataQuery()
query.whereClause = “user_id = (user)”
backendless.persistenceService.of(House.ofClass()).find(
query,
response: { ( houses : BackendlessCollection!) -> () in
let currentPage = houses.getCurrentPage()
I am also having same problem…
BackendlessUser currentUser = Backendless.UserService.CurrentUser();
BackendlessDataQuery dataQuery = new BackendlessDataQuery();
dataQuery.setWhereClause( “email.ObjectId=”+currentUser.getObjectId());
Its a relation column but still i am getting error as Server reported an error - Invalid where clause
Kindly help