Example #1
0
 /**
  * Convenience method to add a multi delete query 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 $queries
  * @return Solarium_Query_Update Provides fluent interface
  */
 public function addDeleteQueries($queries)
 {
     $delete = new Solarium_Query_Update_Command_Delete();
     $delete->addQueries($queries);
     return $this->add(null, $delete);
 }