Есть схема
module.exports = function (sequelize) {
return sequelize.define("test", {
id_item: {
primaryKey: true,
unique: true,
type: Sequelize.STRING,
allowNull: false
},
data: {
type: Sequelize.STRING,
allowNull: false
},
url: {
type: Sequelize.STRING,
allowNull: false
},
publishedAt: {
type: Sequelize.STRING,
allowNull: false
},
а вот что надо сохранить
const response = [
{
id_item: "123",
data: "jhlkj",
url: "http:localhost1",
publishedAt: "01. 02. 1996"
},
id_item: "124",
data: "sfdrfg",
url: "http:localhost2",
publishedAt: "04. 05. 1991"
},
{...200 000 items}
]