Mongoose
CEZLZ
这个作者很懒,什么都没留下…
展开
-
解决 Mongoose 的 useFindAndModify 警告
Mongoose: `findOneAndUpdate()` and `findOneAndDelete()` without the `useFindAndModify` option set to false are deprecatedMongoose:不推荐使用未将“useFindAndModify”选项设置为false的“FindAndDupDate()”和“FindAndDele...原创 2020-04-27 10:35:20 · 3131 阅读 · 0 评论 -
解决 Mongoose 的 useUnifiedTopology 警告
current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to...原创 2020-04-27 10:20:28 · 2988 阅读 · 0 评论 -
解决 Mongoose 的 useNewUrlParser 警告
current URL string parser is deprecated, and will be removed in a future version. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect当前的URL字符串分析器已弃用,将在将来的版本中删除。要使用...原创 2020-04-27 10:14:48 · 728 阅读 · 0 评论