Skip to main content
Module

x/pg_mem/evaluator.ts>Value

An in memory postgres DB instance for your unit tests
Latest
variable Value
import { Value } from "https://deno.land/x/pg_mem@2.8.1/evaluator.ts";

type

{ null(ofType?: _IType): IValue; text(value: string, length?: number | nil): IValue; number(value: number, type?): IValue; function(value: string | QName, args: IValue[]): IValue; bool(value: boolean): IValue; constant(_type: _IType, value: any): IValue; converter(type: _IType, to: _IType): (val: any, t: _Transaction | nil) => any; in(
value: IValue,
array: IValue,
inclusive: boolean,
): IValue; isNull(leftValue: IValue, expectNull: boolean): IValue; isTrue(leftValue: IValue, expectTrue: boolean): IValue; isFalse(leftValue: IValue, expectFalse: boolean): IValue; negate(value: IValue): IValue; array(values: IValue[]): IValue; list(values: IValue[]): IValue; }