MongoDB::resetError
Clears any flagged errors on the database
Description
public array MongoDB::resetError
( void
)
It is equivalent to running:
<?php
public function resetError() {
return $this->command(array('reseterror' => 1));
}
?>
Parameters
This function has no parameters.
Return Values
Returns the database response.