Version: 6.4- OneToMany(entity: string | (e?: any) => EntityName<Target>, mappedBy: (string & keyof Target) | (e: Target) => any, options?: Partial<OneToManyOptions<Owner, Target>>): (target: AnyEntity, propertyName: string) => void
- OneToMany(options: OneToManyOptions<Owner, Target>): (target: AnyEntity, propertyName: string) => void
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
- (target: AnyEntity, propertyName: string): void