fetch
fun <Z, T, R> KProperty1<T, R>.fetch(from: From<Z, T>, joinType: JoinType = JoinType.INNER): Fetch<T, R>(source)
Creates a Fetch 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 fetched property.
Return
A Fetch representing the fetch.
Parameters
from
The JPA From to fetch from.
join Type
The type of join to perform (defaults to JoinType.INNER).