Mvc\Model\Query\Builder::getFrom

public string | array getFrom () Return the models who makes part of the query

Mvc\Model\Query\Builder::getDistinct

public getDistinct () Returns SELECT DISTINCT / SELECT ALL flag

Mvc\Model\Query\Builder::getDI

public getDI () Returns the DependencyInjector container

Mvc\Model\Query\Builder::getColumns

public string | array getColumns () Return the columns to be queried

Mvc\Model\Query\Builder::from

public from (mixed $models) Sets the models who makes part of the query $builder->from('Robots'); $builder->from(array('Robots', 'RobotsParts')); $builder->from(array('r' => 'Robots', 'rp' => 'RobotsParts'));

Mvc\Model\Query\Builder::forUpdate

public forUpdate (mixed $forUpdate) Sets a FOR UPDATE clause $builder->forUpdate(true);

Mvc\Model\Query\Builder::distinct

public distinct (mixed $distinct) Sets SELECT DISTINCT / SELECT ALL flag $builder->distinct("status"); $builder->distinct(null);

Mvc\Model\Query\Builder::columns

public columns (mixed $columns) Sets the columns to be queried $builder->columns("id, name"); $builder->columns(array('id', 'name')); $builder->columns(array('name', 'number' => 'COUNT(*)'));

Mvc\Model\Query\Builder::betweenWhere

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

Mvc\Model\Query\Builder::autoescape

final public autoescape (mixed $identifier) Automatically escapes identifiers but only if they need to be escaped.