MongoDB::forceError
Creates a database error
Beschreibung
public bool MongoDB::forceError
( void
)
This command is identical to running:
<?php
public function forceError() {
return $this->command(array('forceerror' => 1));
}
?>
Parameter-Liste
Diese Funktion hat keine Parameter.
Rückgabewerte
Returns the database response.