Sequelize bulkCreate() returns NULL value for primary key
Tested in MySQL:
Model.bulkCreate(values, { individualHooks: true })
You should set the returning
option:
Model.bulkCreate(values, {returning: true})
Tested in MySQL:
Model.bulkCreate(values, { individualHooks: true })
You should set the returning
option:
Model.bulkCreate(values, {returning: true})