Skip to content

Latest commit

 

History

History
24 lines (23 loc) · 700 Bytes

README.md

File metadata and controls

24 lines (23 loc) · 700 Bytes

mongoose-doc

根据官方文档理解并且整理的文档 始首先确保你有MongoDBNodejs安装。 该教程环境如下:

MongoDB:
MongoDB shell version v3.4.2
connecting to: mongodb://127.0.0.1:27017
MongoDB server version: 3.4.2

node:
tusmdeMacBook-Pro-2:mongoose-doc tusm$ node -v
v8.3.0
npm:
tusmdeMacBook-Pro-2:mongoose-doc tusm$ npm -v
5.3.0
mongoose:
"dependencies": {
    "mongoose": "^4.11.7"
  }

阅读指南

由于当前运行的mongoose版本为4.11.7,所以对官方文档的案例有修改,不然会报错; 文件目录都是按照官方文档的顺序编写的,里面有md说明和js代码