manyToOne<
TTarget
,TOwner
>(entity
,options
?):ManyToOneProperty
<TTarget
,TOwner
>
• TTarget extends object
• TOwner
• entity: string
| () => EntityName
<TTarget
>
• options?: Omit
<ManyToOneOptions
<TOwner
, TTarget
>, "nullable"
> & object
ManyToOneProperty
<TTarget
, TOwner
>
packages/mikro-orm/src/entity-schema.ts:375
manyToOne<
TTarget
,TOwner
>(entity
,options
?):ManyToOneProperty
<TTarget
,TOwner
> &WithNullable
• TTarget extends object
• TOwner
• entity: string
| () => EntityName
<TTarget
>
• options?: Omit
<ManyToOneOptions
<TOwner
, TTarget
>, "nullable"
> & object
ManyToOneProperty
<TTarget
, TOwner
> & WithNullable
packages/mikro-orm/src/entity-schema.ts:381