Page Contents

Home > @loopback/filter > WhereBuilder > eq

WhereBuilder.eq() method

Add an = condition

Signature:

eq<K extends KeyOf<MT>>(key: K, val: MT[K]): this;

Parameters

Parameter Type Description
key K Property name
val MT[K] Property value

Returns:

this