@mikro-orm/coreFunctionsVersion: Nextref Callableref<T>(entity: T | Ref<T>): Ref<T> & LoadedReference<Loaded<T, AddEager<T>>>ref<T, PKV>(entityType: EntityClass<T>, pk?: T | PKV): Ref<T>ref<T>(value: T | Ref<T>): Ref<T> & LoadedReference<Loaded<T, AddEager<T>>>shortcut for wrap(entity).toReference()Type parametersTParametersentity: T | Ref<T>Returns Ref<T> & LoadedReference<Loaded<T, AddEager<T>>>
shortcut for
wrap(entity).toReference()