|
MongoDB::forceError(PECL mongo >=0.9.5) MongoDB::forceError — Creates a database error Описание
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 Список параметровУ этой функции нет параметров. Возвращаемые значенияReturns the database response. |
|