PHP » GoLang |
login |
register |
about
|
GoLang MongoDB::forceError
request it (339)
GoLang replacement for PHP's MongoDB::forceError
[edit | history]
MongoDB::forceError(PECL mongo >=0.9.5) MongoDB::forceError — Creates a database error Description
public bool MongoDB::forceError
( void
)
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:
<?php ParametersThis function has no parameters. Return ValuesReturns the database response. Changelog
|
more
Recently updated
more
Most requested
more
Last requests
|