Skip to content

Commit aa5a76b

Browse files
committed
fix(types) add order_by to ColumnRefItem
1 parent 555cb16 commit aa5a76b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

types.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,13 +100,16 @@ export interface ValueExpr<T = string | number | boolean> {
100100
value: T;
101101
}
102102

103+
export type SortDirection = 'ASC' | 'DESC';
104+
103105
export interface ColumnRefItem {
104106
type: "column_ref";
105107
table: string | null;
106108
column: string | { expr: ValueExpr };
107109
options?: ExprList;
108110
loc?: LocationRange;
109111
collate?: { collate: CollateExpr };
112+
order_by?: SortDirection | null;
110113
}
111114
export interface ColumnRefExpr {
112115
type: "expr";

0 commit comments

Comments
 (0)