MongoDB::drop(PECL mongo >=0.9.0) MongoDB::drop — Drops this database Описание
public array MongoDB::drop
( void
)
This drops the database currently being used. This is identical to running:
<?phpСписок параметровУ этой функции нет параметров. Возвращаемые значенияReturns the database response. ПримерыПример #1 MongoDB::drop() example This example demonstrates how to drop a mongo database and the response to expect.
<?phpРезультатом выполнения данного примера будет что-то подобное:
Array
(
[dropped] => foo.$cmd
[ok] => 1
)
|
||