plywood
Version:
A query planner and executor
16 lines • 932 B
TypeScript
import { PlywoodValue } from '../datatypes';
import { SQLDialect } from '../dialect/baseDialect';
import { ChainableUnaryExpression, Expression, ExpressionJS, ExpressionMatchFn, ExpressionValue, ExtractAndRest } from './baseExpression';
export declare class AndExpression extends ChainableUnaryExpression {
static op: string;
static fromJS(parameters: ExpressionJS): AndExpression;
static merge(ex1: Expression, ex2: Expression): Expression | null;
constructor(parameters: ExpressionValue);
protected _calcChainableUnaryHelper(operandValue: any, expressionValue: any): PlywoodValue;
protected _getSQLChainableUnaryHelper(dialect: SQLDialect, operandSQL: string, expressionSQL: string): string;
isCommutative(): boolean;
isAssociative(): boolean;
protected specialSimplify(): Expression;
extractFromAnd(matchFn: ExpressionMatchFn): ExtractAndRest;
}
//# sourceMappingURL=andExpression.d.ts.map