get Details
Retrieves all detail (child) entities of type D related to a parent through a foreign key.
fun <M : Any, D : Any> getDetails(parent: M, detailsClass: KClass<D>, propertyName: String? = null): List<D>
Retrieves all detail (child) entities of detailsClass related to a parent through a foreign key.
Type-safe variant of getDetails that accepts an annotation-processor-generated reference path (e.g. Paths.AuditEntry_.createdBy) instead of a string.