MongoDB request DSL • opensavvy.ktmongo.dsl.query • FilterQuery • isIn
isIn¶
open infix fun <V : Comparable<V>> Field<T, V?>.isIn(range: ClosedRange<V>)
Selects documents in which this field has a value included in range
.
Example¶
See also¶
-
FilterQuery.gte
Only specify the lower bound. -
FilterQuery.lte
Only specify the higher bound.
open infix fun <V : Comparable<V>> KProperty1<T, V?>.isIn(range: ClosedRange<V>)
Selects documents in which this field has a value included in range
.
Example¶
See also¶
-
FilterQuery.gte
Only specify the lower bound. -
FilterQuery.lte
Only specify the higher bound.
open infix fun <V : Comparable<V>> Field<T, V?>.isIn(range: OpenEndRange<V>)
Selects documents in which this field has a value included in range
.
Example¶
See also¶
-
FilterQuery.gte
Only specify the lower bound. -
FilterQuery.lt
Only specify the higher bound.
open infix fun <V : Comparable<V>> KProperty1<T, V?>.isIn(range: OpenEndRange<V>)
Selects documents in which this field has a value included in range
.
Example¶
See also¶
-
FilterQuery.gte
Only specify the lower bound. -
FilterQuery.lt
Only specify the higher bound.
open infix fun <V : Comparable<V>, R : ClosedRange<V>, OpenEndRange<V>> Field<T, V?>.isIn(range: R)
Selects documents in which this field has a value included in range
.
Example¶
See also¶
-
FilterQuery.gte
Only specify the lower bound. -
FilterQuery.lte
Only specify the higher bound.
open infix fun <V : Comparable<V>, R : ClosedRange<V>, OpenEndRange<V>> KProperty1<T, V?>.isIn(range: R)
Selects documents in which this field has a value included in range
.
Example¶
See also¶
-
FilterQuery.gte
Only specify the lower bound. -
FilterQuery.lte
Only specify the higher bound.