LMongo\Query\Builder::exists PHP Method

exists() public method

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