Page Contents

Home > @loopback/repository > WhereBuilder > or

WhereBuilder.or() method

Add an or clause.

Signature:

or(...w: (Where<MT> | Where<MT>[])[]): this;

Parameters

Parameter Type Description
w (Where<MT> | Where<MT>[])[] One or more where objects

Returns:

this