标签: node.js typeorm
const user = await this.userService.FindOne({ where: { id: req.body.id, }, relations: ['roleUser'], }); console.log('User Role Id:' + user.roleUser.id);
如何获取关系表(roleUser)列值?