Day17-TypeORM(四)設定一對多/多對一 ... 新增部門entity,新增users屬性並設定@OneToMany() ... depRepo.save(dep); } async getDepById(id){ return await this.
確定! 回上一頁