(PECL mongo >=0.9.5)
Clears any flagged errors on the database
public array MongoDB::resetError ( void )
This method is not used in normal operations. It resets the database error tracker (which can be incremented with MongoDB::forceError(), also not normally used).
It is equivalent to running:
1 2 3 4 5 6 7 | <?php public function resetError() { return $this ->command( array ( 'reseterror' => 1)); } ?> |
Returns:
Returns the database response.
Changelog:
1.2.11
Emits E_DEPRECATED
when used.
Please login to continue.