src/Webiny/AnalyticsDb/Query/AbstractQuery.php
public function getResult()
    {
        $result = $this->mongo->aggregate($this->getCollectionName(), $this->getPipeline());
        return $result->toArray();
    }
public function getResult()
    {
        $result = $this->mongo->aggregate($this->getCollectionName(), $this->getPipeline());
        return $result->toArray();
    }
public function getResult ( ) { $ result = $ this -> mongo -> aggregate ( $ this -> getCollectionName ( ) , $ this -> getPipeline ( ) ) ; return $ result -> toArray ( ) ; }
This method does your query lookup and returns the result in form of an array.
In case if there are no records to return, false is returned.

@return bool
This method does your query lookup and returns the result in form of an array . In case if there are no records to return false is returned .