MongoClient::dropDB

Drops a database [deprecated]

Description

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

Deprecated

Use MongoDB::drop instead.

Parameters

db

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

Return Values

Returns the database response.