FilterOperators type
Home > @cbnsndwch/zero-contracts > FilterOperators
FilterOperators type
Signature:
type FilterOperators<T> = {
$eq?: T;
$ne?: T;
$gt?: T;
$gte?: T;
$lt?: T;
$lte?: T;
$in?: ReadonlyArray<T>;
$nin?: ReadonlyArray<T>;
$not?: T extends string ? FilterOperators<T> | RegExp : FilterOperators<T>;
$exists?: boolean;
$regex?: T extends string ? RegExp | string : never;
$options?: T extends string ? string : never;
$all?: ReadonlyArray<any>;
$size?: T extends ReadonlyArray<any> ? number : never;
};References: FilterOperators
How was this page?