Page Contents

Home > @loopback/filter > Where

Where type

Where clause

Signature:

export type Where<MT extends object = AnyObject> = Condition<MT> | AndClause<MT> | OrClause<MT>;

References: Condition, AndClause, OrClause

Example

{
  name: {inq: ['John', 'Mary']},
  status: 'ACTIVE'
  and: [...],
  or: [...],
}