Source on GitHub Methods abstract public setModelName (mixed $modelName) ... abstract public getModelName () ... abstract public bind (array $bindParams) ... abstract public bindTypes (array $bindTypes) ... abstract public where (mixed $conditions) ... abstract public conditions (mixed $conditions) ... abstract public orderBy (mixed $orderColumns) ... abstract public limit (mixed $limit, [mixed $offset]) ... abstract public forUpdate ([mixed $forUpdate]) ... abstract public sharedLock ([mixed $
public where (mixed $conditions, [mixed $bindParams], [mixed $bindTypes]) Sets the conditions parameter in the criteria
public sharedLock ([mixed $sharedLock]) Adds the “shared_lock” parameter to the criteria
public setModelName (mixed $modelName) Set a model on which the query will be executed
public setDI (Phalcon\DiInterface $dependencyInjector) Sets the DependencyInjector container
public rightJoin (mixed $model, [mixed $conditions], [mixed $alias]) Adds a RIGHT join to the query $criteria->rightJoin('Robots', 'r.id = RobotsParts.robots_id', 'r');
public orWhere (mixed $conditions, [mixed $bindParams], [mixed $bindTypes]) Appends a condition to the current conditions using an OR operator
public orderBy (mixed $orderColumns) Adds the order-by clause to the criteria
public order (mixed $orderColumns) Adds the order-by parameter to the criteria (deprecated)
public notInWhere (mixed $expr, array $values) Appends a NOT IN condition to the current conditions $criteria->notInWhere('id', [1, 2, 3]);
Page 159 of 382