Метод |
Описание |
|
addToSelect ( string $prefix, string $field, string $alias = '' ) |
Add {prefix}.{field} {alias} to select string. |
|
generateJoin ( string $parent, string $field, string $alias ) : string |
Generate JOIN {parent}.{fieldname} {alias}. |
|
generateJoinCondition ( $field ) : string |
generates the join condition. |
|
generateJoins ( array $fieldParts, string $prefix ) : string |
Generate JOIN {parent}.{fieldname} {alias} foreach fieldPart. |
|
generateSelect ( string $prefix, string $field, string $alias = '' ) : string |
Generate {prefix}.{field} {alias}. |
|
getOrderBy ( string $prefix ) : string |
Get DQL for Sorting. |
|
getSelectFrom ( string $prefix = 'u' ) : string |
Create a Select . |
|
getWhere ( string $prefix ) : string |
Get DQL for Where clause. |
|
isRelation ( string $field ) : boolean |
Check if Field is an Association. |
|
performSelectFromField ( string $field, string $prefix = 'u' ) |
solves the relations for a single field and generate dql for select and joins. |
|