/**
  * Deletes a document.
  *
  * @param string|array $ids
  * @param array $options cas
  * @return mixed
  */
 public function remove($ids, $options = array())
 {
     return $this->_endure($ids, $options, $this->me->remove($ids, $options));
 }
예제 #2
0
 /**
  * Deletes a document.
  *
  * @param string|array $ids
  * @param array $options cas(string), persist_to(integer), replicate_to(integer)
  * @return mixed
  */
 public function remove($ids, $options = array())
 {
     return $this->_endure($ids, $options, $this->me->remove(is_array($ids) ? array_unique($ids) : $ids, $options));
 }