Page Contents

Home > @loopback/filter > WhereBuilder > impose

WhereBuilder.impose() method

Add a where object. For conflicting keys with the existing where object, create an and clause.

Signature:

impose(where: Where<MT>): this;

Parameters

Parameter Type Description
where [Where](/doc/en/lb4/apidocs.filter.where.html)<MT> Where filter

Returns:

this