Page Contents

Home > @loopback/repository > 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