Can i query like this ?

 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 .

Close, but not quite. When you reference a relation, you need to add specific property. For example:

“type = ‘status’ AND fromUser.objectId = ‘(backendless.userService.currentUser.objectId)’”

Thanks a lot Mark .