Sequelize.js 在sequelize中插入与bulkCreate的关联
我有一个数组的对象,我创建。现在我的问题是,它是否也能在该块中创建关联Sequelize.js 在sequelize中插入与bulkCreate的关联,sequelize.js,associations,Sequelize.js,Associations,我有一个数组的对象,我创建。现在我的问题是,它是否也能在该块中创建关联 let participant = { firstname: p.firstName, lastname: p.lastName, organisation: p.organisation, email: p.email, code: participantInfos
let participant = {
firstname: p.firstName,
lastname: p.lastName,
organisation: p.organisation,
email: p.email,
code: participantInfos.vigenere2Code,
participationType: p.participantTypeId,
thirdPartyId: p.id,
prefix: p.degree,
programBookings: programmeBookings.programmeBooking // array of objects which should get included with foreign key association
}