downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

MongoDB::selectCollection> <MongoDB::repair
[edit] Last updated: Sat, 07 Jan 2012

view this page in

MongoDB::resetError

(PECL mongo >=0.9.5)

MongoDB::resetErrorClears any flagged errors on the database

Beschreibung

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:

<?php

public function resetError() {
    return 
$this->command(array('reseterror' => 1));
}

?>

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

Returns the database response.



add a note add a note User Contributed Notes MongoDB::resetError
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites