timestamps
默认值:true
// 不添加时间戳属性 (updatedAt, createdAt)
timestamps: false,
// 不要忘记启用时间戳!...此外,目标也可以连接到多个源.
foreignKey 将允许你在 through 关系中设置 source model 键.
otherKey 将允许你在 through 关系中设置 target model...',
date: '2020-07-03 19:00:00',
click: '999',
// 这里写Tag模型定义时的名字+复数
tags...'2020-07-03 19:00:00',
click: '999'
})
let bbb = await Tag.findAll({ where: { id: [1, 2] } })
let...'2020-07-03 19:00:00',
click: '999',
})
let update_article_result = await find_article.setTags(update_tags