How can i get objectId in parse cloud code?
cloud, parse-platform
Solution
Parse Objects in JavaScript (which also applies to Cloud Code) have these three properties, as per the documentation:
var objectId = gameScore.id;
var updatedAt = gameScore.updatedAt;
var createdAt = gameScore.createdAt;
Problem
i haven succeeded in querying a class and retrieving objects. however, i couldn't extract the `objectId` field from the data always gives me `"undefined"`. but i can extract the `createdAt` and other fields. how can i read the `objectId` field? Regards