LMongo\Query\Builder::exists PHP Méthode

exists() public méthode

Determine if any document exist for the current query.
public exists ( ) : boolean
Résultat boolean
    public function exists()
    {
        return $this->count() > 0;
    }
Builder