Page Contents
Home > @loopback/filter > PredicateComparison
PredicateComparison type
Matching predicate comparison
Signature:
export type PredicateComparison<PT> = {
eq?: PT;
neq?: PT;
gt?: PT;
gte?: PT;
lt?: PT;
lte?: PT;
inq?: PT[];
nin?: PT[];
between?: [PT, PT];
exists?: boolean;
like?: PT;
nlike?: PT;
ilike?: PT;
nilike?: PT;
regexp?: string | RegExp;
};