MongoClient
PHP Manual

MongoClient::dropDB

(PECL mongoclient >=0.9.0)

MongoClient::dropDBDrops a database [deprecated]

Описание

public array MongoClient::dropDB ( mixed $db )
Внимание

Deprecated

Use MongoDB::drop() instead.

Список параметров

db

The database to drop. Can be a MongoDB object or the name of the database.

Возвращаемые значения

Returns the database response.


MongoClient
PHP Manual