Ejemplo n.º 1
0
 /**
  * Delete this documents from database.
  *
  * @return \Clusterpoint\Response\Single
  */
 public function delete()
 {
     return QueryParser::delete($this->_id, $this->connection);
 }
Ejemplo n.º 2
0
 /**
  * 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);
 }