I noticed that Phalcon\Mvc\Model\Criteria doesn't have a from() method. It does have a join() method though.
join() in Criteria.php is defined like this (alias is passable):
public function join($model, $conditions = null, $alias = null, $type = null) {}
So, how is one supposed to create an alias for the main model when joining related model?
Current result is always this kind of error:
"The column 'whatever_id' is ambiguous, when preparing: SELECT..."
Can one actually use this kind of statement?
SomeModel::find($criteria->getParams());