yii\mongodb\Database::dropCollection PHP Метод

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);
    }