Esempio n. 1
0
 /**
  * @param Column $column
  *
  * @return string
  */
 public function writeColumnWithAlias(Column $column)
 {
     if (($alias = $column->getAlias()) && !$column->isAll()) {
         return $this->writeColumn($column) . ' AS ' . $this->writer->writeColumnAlias($alias);
     }
     return $this->writeColumn($column);
 }