PHP » GoLang |
login |
register |
about
|
GoLang MongoCollection::deleteIndexes
request it (376)
GoLang replacement for PHP's MongoCollection::deleteIndexes
[edit | history]
PHP MongoCollection::deleteIndexesPHP original manual for MongoCollection::deleteIndexes [ show | php.net ]MongoCollection::deleteIndexes(PECL mongo >=0.9.0) MongoCollection::deleteIndexes — Delete all indices for this collection Description
public array MongoCollection::deleteIndexes
( void
)
ParametersThis function has no parameters. Return ValuesReturns the database response. ExamplesExample #1 MongoCollection::deleteIndexes() example This example demonstrates how to delete all indexes from a collection and the response to expect.
<?php The above example will output something similar to: Array ( [nIndexesWas] => 1 [msg] => all indexes deleted for collection [ok] => 1 ) See Also
|
more
Recently updated
more
Most requested
|