invoke

suspend operator fun invoke(): Parent

Suspending read of the referenced parent entity. Looks up the entity from the cache, or otherwise resolves the parent by querying the database via factory.

Throws

if the reference value cannot be resolved to a parent entity.