PHP » GoLang |
login |
register |
about
|
MongoDB::drop(PECL mongo >=0.9.0) MongoDB::drop — Drops this database Description
public array MongoDB::drop
( void
)
This drops the database currently being used. This is identical to running:
<?php ParametersThis function has no parameters. Return ValuesReturns the database response. ExamplesExample #1 MongoDB::drop() example This example demonstrates how to drop a mongo database and the response to expect.
<?php The above example will output something similar to: Array ( [dropped] => foo.$cmd [ok] => 1 ) |
more
Recently updated
more
Most requested
more
Last requests
|