-
-
Notifications
You must be signed in to change notification settings - Fork 600
Closed
Description
Trying to update the user object. I can successfully query it, and when I call .set() if the column doesn't exist it creates it but doesn't populate it and if it does exist it doesn't set the value.
Here is code:
` var User = Parse.Object.extend("_User");
var query = new Parse.Query(User);
query.get(req.body.userId, {
success: function(user) {
// The object was retrieved successfully.
console.log(user)
console.log(user.id)
user.set("hello", "world"); // hello is created but not populated with world
user.save();
},
error: function(object, error) {
// The object was not retrieved successfully.
// error is a Parse.Error with an error code and message.
}
});
`
Metadata
Metadata
Assignees
Labels
No labels