Please wait while we load your page...

PasswordSentry

Latest Version [8.00202205221] Last Updated [May-22-2022]

Tools

PHP Manual [MongoDB

Protect Your Website Today


PHP Manual || MongoDB

(PECL mongo >=0.9.5)

MongoDB::resetErrorClears any flagged errors on the database

Description

public MongoDB::resetError ( void ) : array

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));
}

?>

Parameters

This function has no parameters.

Return Values

Returns the database response.

Changelog

Version Description
1.2.11 Emits E_DEPRECATED when used.



PHP Manual || MongoDB