On parse.com, I have a table named "ExerciseInstance" with a "pointer" to the "_User" table (with the user's objectId).
In my Swift code, I want to get all the rows from ExerciseInstance with UserAccount<_User> = "MZmMHtobwQ"
This does not work:
predicate = NSPredicate(format:"userAccount == %@", "MZmMHtobwQ")
var query = PFQuery(className:"ExerciseInstance", predicate:predicate)
Same problem with:
var query = PFQuery(className:"ExerciseInstance")
query.whereKey("userAccount", equalTo: "MZmMHtobwQ")
Any idea - what am I missing? Best, Tom