src/Webiny/AnalyticsDb/Query/AbstractQuery.php
public function getPipeline()
    {
        $pipeline = [];
        foreach ($this->pipeline as $k => $v) {
            $pipeline[] = [$k => $v];
        }

        return $pipeline;
    }
public function getPipeline()
    {
        $pipeline = [];
        foreach ($this->pipeline as $k => $v) {
            $pipeline[] = [$k => $v];
        }

        return $pipeline;
    }
public function getPipeline ( ) { $ pipeline = [ ] ; foreach ( $ this -> pipeline as $ k => $ v ) { $ pipeline [ ] = [ $ k => $ v ] ; } return $ pipeline ; }
Returns the pipeline array.

@return array
Returns the pipeline array .