join

fun <Z, T, R> KProperty1<T, R>.join(from: From<Z, T>, joinType: JoinType = JoinType.INNER): Join<T, R>(source)

Creates a Join for this property on the given From.

Receiver

Z – the type of the root entity.

T – the type of the current entity.

R – the type of the joined property.

Return

A Join representing the join.

Parameters

from

The JPA From to join from.

joinType

The type of join to perform (defaults to JoinType.INNER).