TypeORM cascade option: cascade, onDelete, onUpdate

后端 未结 2 1393
我在风中等你
我在风中等你 2021-02-07 12:47

Do cascade options in TypeORM overlap or do they have a completely different purpose? Their description in the documentation is very scarce and partly missing, or I couldn\'t fi

2条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-07 13:37

    onDelete: 'CASCADE isn't supported in OneToMany relations yet. More context here: https://github.com/typeorm/typeorm/issues/1913

提交回复
热议问题