MongoClient
PHP Manual

MongoClient::dropDB

(PECL mongoclient >=0.9.0)

MongoClient::dropDBDrops a database [deprecated]

Descrição

public array MongoClient::dropDB ( mixed $db )
Aviso

Deprecated

Use MongoDB::drop() instead.

Parâmetros

db

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

Valor Retornado

Returns the database response.


MongoClient
PHP Manual