MongoDB request DSL • opensavvy.ktmongo.dsl.query • FilterQuery • invoke
invoke¶
Targets a single field to execute a targeted predicate
.
Example¶
Note that many operators available this way have a convenience function directly in this class to shorten this. For this example, see eq
:
open operator fun <V> KProperty1<T, V>.invoke(block: FilterQueryPredicate<V>.() -> Unit)
Targets a single field to execute a targeted predicate
.
Example¶
Note that many operators available this way have a convenience function directly in this class to shorten this. For this example, see eq
: