Page Contents

Home > @loopback/filter > WhereBuilder > like

WhereBuilder.like() method

Add a like condition

Signature:

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

Parameters

Parameter Type Description
key K Property name
val MT[K] Regexp condition

Returns:

this