How do you update objects in a database?

I have an online database and I can create objects and query them but not update. In the Xamarin section of the documentation it only tells you how to update an object directly after you've created it which I don't want to do. I tried adapting what the documentation says for other platforms but it hasn't worked, I have also tried querying the database and entering the new field values directly after that but it treats them as separate functions. Does anyone have any help?



  • Problem resolved, here is the answer:

    ParseQuery<ParseObject> query = ParseObject.GetQuery("GameScore");
    ParseObject gameScore = await query.GetAsync(objectId);
    customer["user"] = admin;
    customer["score"] = 1338;
    await customer.SaveAsync();
Sign In or Register to comment.