Drops a database [deprecated]

MongoClient::dropDB

(PECL mongoclient >=0.9.0)

MongoClient::dropDBDrops 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.


Customers Area | Contact us | Affiliates