/** * Delete this documents from database. * * @return \Clusterpoint\Response\Single */ public function delete() { return QueryParser::delete($this->_id, $this->connection); }
/** * Delete document by it's "_id" field. * * @param string $id * @return \Clusterpoint\Response\Single */ public function delete($id = null) { return Parser::delete($id, $this->connection); }