MongoDB::forceError
Creates a database error
&reftitle.description;
public boolMongoDB::forceError
This method is not very useful for normal MongoDB use. It forces a database
error to occur. This means that MongoDB::lastError will
return a generic database error after running this command.
This command is identical to running:
command(array('forceerror' => 1));
}
?>
]]>
&reftitle.parameters;
&no.function.parameters;
&reftitle.returnvalues;
Returns the database response.
&reftitle.changelog;
&Version;
&Description;
1.2.11
Emits E_DEPRECATED when used.