i am trying to query a class of users which contains a relation column called "blocking" which contains a list of user objects from the same class
when i try to query all users i would like to query which is not present in this relation column
i did the following
var currentUser = Parse.User.current();
var relation = currentUser.relation('blocking')
query.doesNotExist(relation);
query.find().then((users)=>{
for (let i = 0; i < users.length; i++) {
let object = users[i];
console.log(object)
}
}, (error) => {
console.log(error);
});
but it did not work
any help will be appreciated