var data = [{
id:1
}
,{
id:2
}
,{
id:3
}]
is similar to this structure. An element object in data
corresponds to a record in a database table.
then Sequelize
how to do it all at once?
var data = [{
id:1
}
,{
id:2
}
,{
id:3
}]
is similar to this structure. An element object in data
corresponds to a record in a database table.
then Sequelize
how to do it all at once?
Model.bulkCreate (datas)
Previous: How vue webpack does not use html as an entry, but js code is embedded in html as an entry
Next: How can js convert csv files or string to UTF-8 format