MongoClient
PHP Manual

MongoClient::dropDB

(PECL mongoclient >=0.9.0)

MongoClient::dropDBDrops a database [deprecated]

Beschreibung

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

Deprecated

Use MongoDB::drop() instead.

Parameter-Liste

db

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

Rückgabewerte

Returns the database response.


MongoClient
PHP Manual