Skip to content

Commit

Permalink
feat: provide compatibility methods
Browse files Browse the repository at this point in the history
Signed-off-by: Andreas Reichel <andreas@manticore-projects.com>
  • Loading branch information
manticore-projects committed Jun 27, 2024
1 parent e169299 commit 3f99548
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -383,10 +383,10 @@ protected void deparseOrderByElementsClause(PlainSelect plainSelect,
}

@Override
public <S> StringBuilder visit(SelectItem<?> selectExpressionItem, S context) {
selectExpressionItem.getExpression().accept(expressionVisitor, context);
if (selectExpressionItem.getAlias() != null) {
buffer.append(selectExpressionItem.getAlias().toString());
public <S> StringBuilder visit(SelectItem<?> selectItem, S context) {
selectItem.getExpression().accept(expressionVisitor, context);
if (selectItem.getAlias() != null) {
buffer.append(selectItem.getAlias().toString());
}
return buffer;
}
Expand Down

0 comments on commit 3f99548

Please sign in to comment.