title: How can I delete single rows from a class using Parse's cloud PHP library?
body: <p>I am creating a web api for mobile and website . Selecting All data from parse api. i want to delete single row but single row not delete please help me.</p>
  
  <p>My Code:</p>
  
  <pre><code> function deleteBathRow($objectId)
   {
  
    $query = new ParseQuery("RoomDetail");
    $query-&gt;equalTo("objectId", $objectId);
    $question = $query-&gt;first();
    if(!empty($question))
    {
      $question-&gt;destroy();
      return true;
    }
    else
    {
      return false;
    }
  }       
  deleteBathRow("39LaGbj");
  </code></pre>