setTo

infix fun <T> KProperty<T>.setTo(value: T): SetTo<T>

Generates a SetTo used in updateOne or updateMany operations.

Return

the SetTo instance.

Parameters

the

value to set.