gt

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

Creates a greater-than condition. Matches documents where the specified field is greater than the given value.

Return

A new greater-than condition.

Parameters

field

The field name to check.

value

The value to compare against.