©
本文档使用 PHP中文网手册 发布
(PECL mongo >=0.9.5)
MongoDB::resetError — Clears any flagged errors on the database
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:
<?php
public function resetError () {
return $this -> command (array( 'reseterror' => 1 ));
}
?>
此函数没有参数。
Returns the database response.
版本 | 说明 |
---|---|
1.2.11 | Emits E_DEPRECATED when used. |