MongoDB::drop Drops this database &reftitle.description; public arrayMongoDB::drop This drops the database currently being used. This is identical to running: command(array("dropDatabase" => 1)); } ?> ]]> &reftitle.parameters; &no.function.parameters; &reftitle.returnvalues; Returns the database response. &reftitle.examples; <function>MongoDB::drop</function> example This example demonstrates how to drop a mongo database and the response to expect. foo; $response = $db->drop(); print_r($response); ?> ]]> &example.outputs.similar; foo.$cmd [ok] => 1 ) ]]>