plywood
Version:
A query planner and executor
18 lines • 887 B
TypeScript
import { PlywoodValue } from '../datatypes';
import { SQLDialect } from '../dialect/baseDialect';
import { PlyTypeSimple } from '../types';
import { ChainableExpression, Expression, ExpressionJS, ExpressionValue } from './baseExpression';
export declare class CastExpression extends ChainableExpression {
static op: string;
static fromJS(parameters: ExpressionJS): CastExpression;
outputType: PlyTypeSimple;
constructor(parameters: ExpressionValue);
valueOf(): ExpressionValue;
toJS(): ExpressionJS;
equals(other: CastExpression | undefined): boolean;
protected _toStringParameters(_indent?: int): string[];
protected _calcChainableHelper(operandValue: any): PlywoodValue;
protected _getSQLChainableHelper(dialect: SQLDialect, operandSQL: string): string;
protected specialSimplify(): Expression;
}
//# sourceMappingURL=castExpression.d.ts.map