ts-flex-query
Version:
Flexible and type-safe data queries
11 lines (10 loc) • 435 B
TypeScript
import { Expression } from '../core/expression';
import { DataType } from '../types/data-type';
import { EvaluationContext } from '../types/evaluation-context';
export declare class FieldExpression implements Expression {
readonly input: Expression;
readonly field: string;
readonly dataType: DataType;
constructor(input: Expression, field: string, dataType: DataType);
evaluate(context: EvaluationContext): any;
}