Property | Type | Description | |
---|---|---|---|
$db | the database connection. |
Method | Description | |
---|---|---|
__construct ( |
Constructor. | |
build ( |
Generates query from a Query object. | |
buildCondition ( string | array $condition ) : string | Parses the condition specification and generates the corresponding SQL expression. | |
buildOrderBy ( $columns ) | adds order by condition to the query |
Method | Description | |
---|---|---|
buildCompositeInCondition ( $operator, $columns, $values ) |
Method | Description | |
---|---|---|
buildAndCondition ( $operator, $operands ) | ||
buildBetweenCondition ( $operator, $operands ) | ||
buildHalfBoundedRangeCondition ( string $operator, array $operands ) : array | Builds a half-bounded range condition (for "gt", ">", "gte", ">=", "lt", "<", "lte", "<=" operators) | |
buildHashCondition ( $condition ) | ||
buildInCondition ( $operator, $operands ) | ||
buildLikeCondition ( $operator, $operands ) | ||
buildNotCondition ( $operator, $operands ) |
public __construct ( |
||
$connection | the database connection. | |
$config | array | name-value pairs that will be used to initialize the object properties |
protected buildCompositeInCondition ( $operator, $columns, $values ) |