between

fun <V> between(field: String, start: V, end: V): Condition

Creates a between condition. Matches documents where the specified field value is between the start and end values (inclusive).

Return

A new between condition.

Parameters

V

The type of the boundary values.

field

The field name to check.

start

The lower boundary value.

end

The upper boundary value.