/** * 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)); }
/** * 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)); }