UNPKG

@uwdata/mosaic-sql

Version:

SQL query construction and analysis.

21 lines 773 B
import { ExprNode } from './node.js'; export declare class OrderByNode extends ExprNode { /** The expression to order by. */ readonly expr: ExprNode; /** Flag indicating descending order. */ readonly desc?: boolean; /** Flag indicating if null values should be sorted first. */ readonly nullsFirst?: boolean; /** * Instantiate an order by entry node. * @param expr The expression to order by. * @param desc Flag indicating descending order. * @param nullsFirst Flag indicating if null values should be sorted first. */ constructor(expr: ExprNode, desc?: boolean, nullsFirst?: boolean); /** * Generate a SQL query string for this node. */ toString(): string; } //# sourceMappingURL=order-by.d.ts.map