Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
mongodb
Database
dropCollection
yii\mongodb\Database::dropCollection PHP Method
Database Class Documentation
Datei anzeigen
Open project: yiisoft/yii2-mongodb
dropCollection()
public
method
Drops specified collection.
Since:
2.1
public
dropCollection
(
string
$name
) :
boolean
$name
string
name of the collection
return
boolean
whether operation was successful.
public function dropCollection($name) { return $this->createCommand()->dropCollection($name); }
Database
clearCollections
createCollection
createCommand
dropCollection
getCollection
getFileCollection
listCollections
selectCollection
selectFileCollection