I want to update single row base on id, i have questions table and there is column question_id, which has unique date for each row. Now i want to update that row column based on that question_id. I have code written below, but not getting success. It created New Record not update old record. I want to update old record. I have tried both ParseObject and ParseQuery but not getting success.
$query = new ParseObject("question");
$query->equalTo("question_id", "2");
$query->set("correct_percentage", "55.5");
$query->save();