Toggle navigation
Hot Examples
ZH
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
搜索
Home
yii
mongodb
Database
clearCollections
yii\mongodb\Database::clearCollections PHP Method
Database Class Documentation
显示文件
Open project: yiisoft/yii2-mongodb
clearCollections()
public
method
This method can be used to break cycle references between
Database
and
Collection
instances.
public
clearCollections
( )
public function clearCollections() { $this->_collections = []; $this->_fileCollections = []; }
Database
clearCollections
createCollection
createCommand
dropCollection
getCollection
getFileCollection
listCollections
selectCollection
selectFileCollection