Mvc\Model\Criteria::execute

public execute () Executes a find using the parameters built with the criteria

Mvc\Model\Criteria::distinct

public distinct (mixed $distinct) Sets SELECT DISTINCT / SELECT ALL flag

Mvc\Model\Criteria::conditions

public conditions (mixed $conditions) Adds the conditions parameter to the criteria

Mvc\Model\Criteria::columns

public Phalcon\Mvc\Model\Criteria columns (string | array $columns) Sets the columns to be queried $criteria->columns(array('id', 'name'));

Mvc\Model\Criteria::cache

public cache (array $cache) Sets the cache options in the criteria This method replaces all previously set cache options

Mvc\Model\Criteria::bindTypes

public bindTypes (array $bindTypes) Sets the bind types in the criteria This method replaces all previously set bound parameters

Mvc\Model\Criteria::bind

public bind (array $bindParams, [mixed $merge]) Sets the bound parameters in the criteria This method replaces all previously set bound parameters

Mvc\Model\Criteria::betweenWhere

public betweenWhere (mixed $expr, mixed $minimum, mixed $maximum) Appends a BETWEEN condition to the current conditions $criteria->betweenWhere('price', 100.25, 200.50);

Mvc\Model\Criteria::andWhere

public andWhere (mixed $conditions, [mixed $bindParams], [mixed $bindTypes]) Appends a condition to the current conditions using an AND operator

Mvc\Model\Criteria::addWhere

public addWhere (mixed $conditions, [mixed $bindParams], [mixed $bindTypes]) Appends a condition to the current conditions using an AND operator (deprecated)