Esempio n. 1
0
 function fill(SelectQuery $selectQuery, EntityQueryBuilder $entityQueryBuilder)
 {
     $selectQuery->addSelectExpression($this->getSqlFunction($entityQueryBuilder));
 }
 /**
  * Adds the table field to the SELECT list
  *
  * @param string $field
  * @param SelectQuery $selectQuery
  * @param EntityQueryBuilder $entityQueryBuilder
  */
 protected function fillField($field, SelectQuery $selectQuery, EntityQueryBuilder $entityQueryBuilder)
 {
     $entityQueryBuilder->registerIdentifier($field);
     $selectQuery->addSelectExpression(new SqlColumn($field, $entityQueryBuilder->getAlias()));
 }