MongoClient
PHP Manual

MongoClient::dropDB

(PECL mongo >=1.3.0)

MongoClient::dropDBDrops a database [deprecated]

Descrizione

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

Deprecated

Use MongoDB::drop() instead.

Elenco dei parametri

db

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

Valori restituiti

Returns the database response.


MongoClient
PHP Manual