Query builder - groupBy undefined

Hey guys,

seems like there might be a bug with the query builder.

$sources = Sources::query() 
            ->groupBy('website')    
            ->execute();

Returns: ```php Fatal error: Call to undefined method Phalcon\Mvc\Model\Criteria::groupBy() in (...) ```

All other builder functions work fine. ```php $sources = Sources::find(array('group' => 'website')); ``` Also works fine. Phalcon version 1.2.3.



83.4k

Currently, there is no option to set a group-by clause using a method