MongoDB::forceError
Creates a database error
Description
public bool MongoDB::forceError
( void
)
This command is identical to running:
<?php
public function forceError() {
return $this->command(array('forceerror' => 1));
}
?>
Parameters
This function has no parameters.
Return Values
Returns the database response.