Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
yii
mongodb
Database
dropCollection
yii\mongodb\Database::dropCollection PHP Метод
Документация по классу Database
Показать файл
Открыть проект
dropCollection()
публичный
Метод
Drops specified collection.
С версии:
2.1
public
dropCollection
(
string
$name
) :
boolean
$name
string
name of the collection
Результат
boolean
whether operation was successful.
public function dropCollection($name) { return $this->createCommand()->dropCollection($name); }
Database
clearCollections
createCollection
createCommand
dropCollection
getCollection
getFileCollection
listCollections
selectCollection
selectFileCollection