kmongo / org.litote.kmongo / kotlin.reflect.KProperty / from

from

infix fun <T> KProperty<T>.from(expression: T): Bson (source)

Creates a projection of a property whose value is computed from the given expression.

Parameters

expression - the expression

Parameters

Return
the projection

See Also

Aggregates