Mongo::dropDB

(PECL mongo >=0.9.0)

Mongo::dropDBDrops a database [deprecated]

Description

public array Mongo::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.