mongoose问题总结
来源:互联网 发布:常见数据库 编辑:程序博客网 时间:2024/05/22 06:32
1.DeprecationWarning: open()
is deprecated in mongoose >= 4.11.0, use openUri()
instead, or set the useMongoClient
option if using connect()
or createConnection()
. See http://mongoosejs.com/docs/connections.html#use-mongo-client
mongoose.connect(‘mongodb://localhost/test’,{useMongoClient:true})
2.DeprecationWarning: Mongoose: mpromise (mongoose’s default promise library) is deprecated, plug in your own promise library instead: http://mongoosejs.com/docs/promises.html
mongoose.Promise = global.Promise
阅读全文
0 0
- mongoose问题总结
- Mongoose数据库学习总结
- mongoose使用总结
- Ubuntu安装mongoose问题
- mongoose 连接问题
- mongoose克隆对象的问题
- mongoose 加载时promise问题
- mongoose
- mongoose
- Mongoose
- Mongoose
- mongoose
- mongoose
- mongoose
- Mongoose
- mongoose
- Mongoose
- mongoose
- 删除字符串中的子串
- Algorithm之路四:Median of Two Sorted Arrays
- AndroidStudio3.0报错原因
- qwe
- shell操作mysql
- mongoose问题总结
- TreeSet源码分析详解
- 5-JVM的GC算法(3)
- 量化ChainerCV下Faster RCNN检测结果
- 算法导论阅读顺序
- LintCode_068_二叉树的后序遍历
- 稳压电源 连载22:附录6 参考文献
- MNISTtwo
- TCP协议相关面试总结