UNPKG

@uwdata/mosaic-sql

Version:

SQL query construction and analysis.

46 lines 1.41 kB
import { ExprNode } from './node.js'; export type Extent = [ExprNode, ExprNode] | null; declare class AbstractBetweenOpNode extends ExprNode { /** The input expression. */ readonly expr: ExprNode; /** The range extent. */ readonly extent?: Extent; /** * Instantiate an abstract between operator node. * @param type The node type. * @param expr The input expression. * @param extent The range extent. */ constructor(type: string, expr: ExprNode, extent?: Extent); /** * Generate a SQL query string for this node. * @param op The operator to apply. */ toSQL(op: string): string; } export declare class BetweenOpNode extends AbstractBetweenOpNode { /** * Instantiate a between operator node. * @param expr The input expression. * @param extent The range extent. */ constructor(expr: ExprNode, extent?: Extent); /** * Generate a SQL query string for this node. */ toString(): string; } export declare class NotBetweenOpNode extends AbstractBetweenOpNode { /** * Instantiate a not between operator node. * @param expr The input expression. * @param extent The range extent. */ constructor(expr: ExprNode, extent?: Extent); /** * Generate a SQL query string for this node. */ toString(): string; } export {}; //# sourceMappingURL=between-op.d.ts.map