Skip to content

Commit 22d4f07

Browse files
authored
Support Column "as" to be ValueExpr
In BigQuery and mysql, the alias can be wrapped with backticks and then the as evaluates as ValueExpr<string> with type "backticks_quote_string"
1 parent e373d6d commit 22d4f07

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

types.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ export interface Function {
172172
}
173173
export interface Column {
174174
expr: ExpressionValue;
175-
as: string | null;
175+
as: ValueExpr<string> | string | null;
176176
type?: string;
177177
loc?: LocationRange;
178178
}

0 commit comments

Comments
 (0)