OneToMany
Callable
Parameters
entity: string | (e?: any) => EntityName<Target>
mappedBy: (string & keyof Target) | (e: Target) => any
optionaloptions: Partial<OneToManyOptions<Owner, Target>>
Returns (target: AnyEntity, propertyName: string) => void
Parameters
target: AnyEntity
propertyName: string
Returns void