Someone does not understand what I want. I want to know what I can do with a pointer.
I have js cloud code.
I have a pointer.
What can I do with it?
Example:
var query = new Parse.Query("Messages");
console.log(userMessages[0].get("messageId"));
console.log("end2");
query.equalTo("objectId",userMessages[position].get("messageId"));
In this example, userMessages is the result of a previous cloud request.
This line
console.log(userMessages[0].get("messageId"));
useful output
{"__type":"Pointer","className":"Messages","objectId":"5J4eOletgz"}
This is less useful than you might imagine. I can not name the objectId from it, but the request
query.equalTo("objectId",userMessages[position].get("messageId"));
query.find ({ ... });
returns nothing. Please note that the request must be found pointer-object pointer-point-but, but instead it helps to reset the error
Error: 102 bad special key: __type
It is just useless.
What can I do with a pointer? Why don't people at parse.com want to write this stuff anywhere?
This second question is more like a Buddhist koan so that they meditate, no need to answer!