kmongo / org.litote.kmongo / kotlin.reflect.KProperty1 / div

div

operator fun <T0, T1, T2> KProperty1<T0, T1?>.div(p2: KProperty1<out T1, T2?>): KProperty1<T0, T2?> (source)

Returns a composed property. For example Friend.address / Address.postalCode = "address.postalCode".

@JvmName("divCol") operator fun <T0, T1, T2> KProperty1<T0, Iterable<T1>?>.div(p2: KProperty1<out T1, T2?>): KProperty1<T0, T2?> (source)

Returns a collection composed property. For example Friend.addresses / Address.postalCode = "addresses.postalCode".

@JvmName("divMap") operator fun <T0, K, T1, T2> KProperty1<T0, Map<out K, T1>?>.div(p2: KProperty1<out T1, T2?>): KProperty1<T0, T2?> (source)

Returns a map composed property. For example Friend.addresses / Address.postalCode = "addresses.postalCode".