Mvc\Model\Criteria::innerJoin

public innerJoin (mixed $model, [mixed $conditions], [mixed $alias]) Adds an INNER join to the query $criteria->innerJoin('Robots'); $criteria->innerJoin('Robots', 'r.id = RobotsParts.robots_id'); $criteria->innerJoin('Robots', 'r.id = RobotsParts.robots_id', 'r');

Mvc\Model\Criteria::join

public join (mixed $model, [mixed $conditions], [mixed $alias], [mixed $type]) Adds an INNER join to the query $criteria->join('Robots'); $criteria->join('Robots', 'r.id = RobotsParts.robots_id'); $criteria->join('Robots', 'r.id = RobotsParts.robots_id', 'r'); $criteria->join('Robots', 'r.id = RobotsParts.robots_id', 'r', 'LEFT');

Mvc\Model\Criteria::notBetweenWhere

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

Mvc\Model\Criteria::leftJoin

public leftJoin (mixed $model, [mixed $conditions], [mixed $alias]) Adds a LEFT join to the query $criteria->leftJoin('Robots', 'r.id = RobotsParts.robots_id', 'r');

Mvc\Model\Criteria::inWhere

public inWhere (mixed $expr, array $values) Appends an IN condition to the current conditions $criteria->inWhere('id', [1, 2, 3]);

Mvc\Model\Criteria::limit

public limit (mixed $limit, [mixed $offset]) Adds the limit parameter to the criteria

Mvc\Model\Criteria::groupBy

public groupBy (mixed $group) Adds the group-by clause to the criteria

Mvc\Model\Criteria::getModelName

public getModelName () Returns an internal model name on which the criteria will be applied

Mvc\Model\Criteria::getWhere

public getWhere () Returns the conditions parameter in the criteria

Mvc\Model\Criteria::getParams

public array getParams () Returns all the parameters defined in the criteria