lte

fun lte(field: String, value: Any): Condition

Creates a less-than-or-equal condition. Matches documents where the specified field is less than or equal to the given value.

Return

A new less-than-or-equal condition.

Parameters

field

The field name to check.

value

The value to compare against.