yii\mongodb\ActiveQuery::exists PHP Méthode

exists() public méthode

public exists ( $db = null )
    public function exists($db = null)
    {
        return $this->one($db) !== null;
    }