📜  将 Sequelize 连接到数据库 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:04:22.748000             🧑  作者: Mango

代码示例1
const db = new Sequelize('postgres://localhost:3000/yourDatabaseNameHere')
                          //^ Our protocol   ^Path to DB     ^Database name