Load attributes from associated model in sequelize.js
问题 I have two models. User and Manager User Model const UserMaster = sequelize.define('User', { UserId: { type: DataTypes.BIGINT, allowNull: false, primaryKey: true, autoIncrement: true }, RelationshipId: { type: DataTypes.STRING, allowNull: true, foreignKey: true }, UserName: { type: DataTypes.STRING, allowNull: true } }) Manager model const Manager = sequelize.define('Manager', { ManagerId: { type: DataTypes.BIGINT, allowNull: false, primaryKey: true, autoIncrement: true }, RelationshipId: {