Mvc\Model\Criteria
Class Phalcon\Mvc\Model\Criteria
implements Phalcon\Mvc\Model\CriteriaInterface, Phalcon\DI\InjectionAwareInterface
This class allows to build the array parameter required by Phalcon\Mvc\Model::find and Phalcon\Mvc\Model::findFirst using an object-oriented interface
$robots = Robots::query() ->where("type = :type:") ->andWhere("year < 2000") ->bind(array("type" => "mechanical")) ->order("name") ->execute();
Methods
public setDI (Phalcon\DiInterface $dependencyInjector)
Sets the Depen