MongoClient
PHP Manual

MongoClient::dropDB

(PECL mongoclient >=0.9.0)

MongoClient::dropDBDrops a database [deprecated]

Opis

public array MongoClient::dropDB ( mixed $db )
Ostrzeżenie

Deprecated

Use MongoDB::drop() instead.

Parametry

db

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

Zwracane wartości

Returns the database response.


MongoClient
PHP Manual