mongoose

官方文档

连接

const mongoose = require('mongoose');
mongoose.connect('mongo://user:pwd@host:port/dbName');
上次更新: 8/20/2018, 11:33:32 AM