diff --git a/src/Expr.ts b/src/Expr.ts index 464fe2d..42a0b8f 100644 --- a/src/Expr.ts +++ b/src/Expr.ts @@ -59,6 +59,7 @@ export const Expr = (() => { like, or, and, + not, notNull, lowerThan, lowerThanOrEqual, @@ -221,6 +222,14 @@ export const Expr = (() => { }); } + function not(expr: E): IExpr { + return create(builder.Expr.not(expr.ast), { + parse: Datatype.boolean.parse, + nullable: expr[PRIV].nullable, + dependencies: expr[PRIV].dependencies, + }); + } + function notNull(expr: IExprUnknow): IExpr { return create(builder.Expr.notNull(expr.ast), { parse: Datatype.boolean.parse, nullable: false }); }