MongoClient
PHP Manual

MongoClient::dropDB

(PECL mongo >=1.3.0)

MongoClient::dropDBDrops a database [deprecated]

Descrierea

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

Deprecated

Use MongoDB::drop() instead.

Parametri

db

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

Valorile întoarse

Returns the database response.


MongoClient
PHP Manual