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