Page Contents

Home > @loopback/filter > WhereBuilder > between

WhereBuilder.between() method

Add a between condition

Signature:

between<K extends KeyOf<MT>>(key: K, val1: MT[K], val2: MT[K]): this;

Parameters

Parameter Type Description
key K Property name
val1 MT[K] Property value lower bound
val2 MT[K] Property value upper bound

Returns:

this