Cannot perform update query because update values are not defined. Call “qb.set(…)” method to specify updated values

后端 未结 1 3551
情歌与酒
情歌与酒 2020-12-22 12:25

I have an entity that looks like:

import { Entity, PrimaryGeneratedColumn, Column, ManyToOne, OneToMany } from \'typeorm\';
import { Project } from \'../proje         


        
1条回答
  •  tianzihao
    tianzihao (楼主)
    2021-02-20 19:19

    Do you forget to set  relationKey 's configration ?

    your  core entities 

    like :   { cascade :true }

    try it!!!

    0 讨论(0)
提交回复
热议问题