Skip to main content

Type Alias: LogicalWhereExpr<T>

LogicalWhereExpr<T> = CollectionRangePredicateType | { [key in LogicalOperatorType]?: (FieldWhereExpr<T> | CollectionRangePredicateType)[] } | FieldWhereExpr<T>

Defined in: query/interface/query.types.ts:164

Structure of Logical WHERE expression

Type Parameters

T

T = any

Example

{ field: { operator: value } } -> e.g { $or: [{ address: { $like: '%ottoman%' } }] }