UNPKG

rhombic

Version:

SQL parsing, lineage extraction and manipulation

12 lines 531 B
import { ProjectionItemsVisitor } from "../visitors/ProjectionItemsVisitor"; import { ParsedSql } from ".."; /** * Fix order by item after a projectionItem refactor. Indeed if the order by rely on an alias, * and the alias is not in the query anymore, the query will be unvalid. * * @param cst * @param prevProjectionItem * @param index */ export declare const fixOrderItem: (parsedSql: ParsedSql, prevProjectionItem: ProjectionItemsVisitor["output"][-1], index: number) => string; //# sourceMappingURL=fixOrderItem.d.ts.map