postgrelize / WhereLogic
Type Alias: WhereLogic<T> ​
WhereLogic<
T> =object
Defined in: src/model/where-options.ts:161
Logical combinators allowed at any level of a where object.
Type Parameters ​
T ​
T
Properties ​
[and]? ​
optional[and]?:AllowArray<WhereOptions<NoInfer<T>>>
Defined in: src/model/where-options.ts:163
Logical AND of nested conditions.
[not]? ​
optional[not]?:WhereOptions<NoInfer<T>>
Defined in: src/model/where-options.ts:167
IS NOT value for null/booleans, otherwise negates a nested condition.
[or]? ​
optional[or]?:AllowArray<WhereOptions<NoInfer<T>>>
Defined in: src/model/where-options.ts:165
Logical OR of nested conditions.