Example #1
0
 /**
  * Convenience method to add a delete by IDs command
  *
  * If you need more control, like choosing a key for the command you need to
  * create you own command instance and use the add method.
  *
  * @param array $ids
  * @return Solarium_Query_Update Provides fluent interface
  */
 public function addDeleteByIds($ids)
 {
     $delete = new Solarium_Query_Update_Command_Delete();
     $delete->addIds($ids);
     return $this->add(null, $delete);
 }