摘要: 第一步,安装mongoose模块 第二步,导入模块 第三步,连接数据库 其他步,添加些监听 获得获取数据库连接 添加监听数据库连接事件 Events:(其他事件) connecting: Emitted when connection.{open,openSet}() is executed on 阅读全文
posted @ 2016-09-07 21:59 天幽 阅读(280) 评论(0) 推荐(0) 编辑