gte

open infix fun <V> Field<T, V>.gte(value: V)(source)
open infix fun <V> KProperty1<T, V>.gte(value: V)(source)

Selects documents for which this field has a value greater or equal to value.

Example

class User(
val name: String,
val age: Int?,
)

collection.find {
User::age gte 18
}

External resources

See also