I would like to know in cloud code if the request is adding or removing an item from a ParseRelation. How to get information from the Parse Operation. For now I cannot get any information from Parse.Op.
for i.e : in a beforeSave() method :
var parseOp = myObject.op('myRelation');
if (parseOp != null) {
console.log("Operations on myRelation = " + parseOp.toJSON() );
}
in log this display only : Operations on myRelation = [object Object]
There is no information in Parse SDK js documentation. on how to use ParseOp.