Hey guys,
seems like there might be a bug with the query builder.
$sources = Sources::query()
->groupBy('website')
->execute();
Returns:
Fatal error: Call to undefined method Phalcon\Mvc\Model\Criteria::groupBy() in (...)
All other builder functions work fine.
$sources = Sources::find(array('group' => 'website'));
Also works fine. Phalcon version 1.2.3.