let whereClause = "type = 'status' AND fromUser = '\(backendless.userService.currentUser)'"
let queryOptions = QueryOptions()
queryOptions.addRelated("fromUser")
dataQuery.queryOptions = queryOptions
dataQuery.whereClause = whereClause
let dataQuery = BackendlessDataQuery()
I like to query from fromUser which is a relation object to Users class which is from the current user .