# Source: https://mikro-orm.io/api/core/function/rel.md

# rel<!-- -->

shortcut for `Reference.createNakedFromPK(entityType, pk)`

### Callable

* ****rel**\<T, PK>(entityType, pk): T

***

* shortcut for `Reference.createNakedFromPK(entityType, pk)`

  ***

  #### Parameters

  * ##### entityType: [EntityClass](https://mikro-orm.io/api/core.md#EntityClass)\<T>
  * ##### pk: T | PK

  #### Returns T