title: How to use Phalcon ORM for deleting a result set
body: <p>Consider the following code form document</p>
  
  <pre><code>foreach (Robots::find("type='mechanical'") as $robot) {
      if ($robot-&gt;delete() == false) {
          echo "Sorry, we can't delete the robot right now: \n";
          foreach ($robot-&gt;getMessages() as $message) {
              echo $message, "\n";
          }
      } else {
          echo "The robot was deleted successfully!";
      }
  }
  </code></pre>
  
  <p>Using Phalcon, is it possible to delete a result set with a single operation (without iteration).</p>