plywood
Version:
A query planner and executor
17 lines • 849 B
TypeScript
import { PlywoodValue } from '../datatypes';
import { SQLDialect } from '../dialect/baseDialect';
import { ChainableExpression, ExpressionJS, ExpressionValue } from './baseExpression';
export declare class MatchExpression extends ChainableExpression {
static likeToRegExp(like: string, escapeChar?: string): string;
static op: string;
static fromJS(parameters: ExpressionJS): MatchExpression;
regexp: string;
constructor(parameters: ExpressionValue);
valueOf(): ExpressionValue;
toJS(): ExpressionJS;
equals(other: MatchExpression | undefined): boolean;
protected _toStringParameters(_indent?: int): string[];
protected _calcChainableHelper(operandValue: any): PlywoodValue;
protected _getSQLChainableHelper(dialect: SQLDialect, operandSQL: string): string;
}
//# sourceMappingURL=matchExpression.d.ts.map