Documentation

Interface Phalcon\Mvc\Model\Query\BuilderInterface

Source on GitHub

Phalcon\Mvc\Model\Query\BuilderInterface initializer

Methods

abstract public int getType ()

Gets the type of PHQL queries

abstract public Phalcon\Mvc\Model\QueryInterface compile ()

Compile the PHQL query

abstract public string getPhql ()

Returns a PHQL statement built based on the builder parameters

abstract public Phalcon\Mvc\Model\QueryInterface getQuery ()

Returns the query built