TypeORM how to construct a relation between two tables in this particular way

前端 未结 0 1468
抹茶落季
抹茶落季 2021-01-19 18:22

Table1:

@OneToMany(() => Table2, x => x.Value, { nullable: true, cascade: true })
sender?: any[];

@OneToMany(() => Table2, x =>          


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题