import { Evaluator } from "https://dotland.deno.dev/x/pg_mem@2.6.7/evaluator.ts";
Constructors
new
Evaluator(type: _IType<T>,
id: string | nil,
hash: string,
dependencies: IValue | IValue[] | nil,
val: ,
| nil
| Object
| number
| string
| Date
| ((raw: any, transaction: _Transaction | nil) => any)
opts?: { isAny?: boolean; isColumnOf?: _ISelection; forceNotConstant?: boolean; unpure?: boolean; },
Methods
convertImplicit<T = any>(to: _IType<T>): IValue<T>
explain(e: _Explainer): _ExprExplanation
setConversion(converter: (val: T, t: _Transaction | nil) => any, hashConv: (hash: string) => any)
setId(newId: string): IValue
setType(type: _IType)
setWrapper<TNew>(): IValue<TNew>