摘要: 数据库的连接 const mongoose = require('mongoose') // 如果数据库(database)不存在就会创建 mongoose.connect('mongodb://localhost/eg', { useNewUrlParser: true, useUnifiedTo 阅读全文
posted @ 2021-05-23 19:30 丁同亚的博客 阅读(1997) 评论(0) 推荐(0) 编辑