Fairly simple question, but I can\'t seem to find anything about it.
I\'ve got a set of ids, and I need to find all matching records.
So I\'d like to query :
Check out the Phalcon\Mvc\Model\Criteria, in the inWhere method.
inWhere
You could create a new model's method like:
public static function findIn(array $identifiers) { return self::query() ->inWhere('id', $identifiers) ->execute(); }