问题描述:

DeprecationWarning: current URL string parser is deprecated, and will be removed in a future versio
n. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.

解决方法:

加入 { useNewUrlParser: true } 则不再提示 DeprecationWarning: current URL string parser is deprecated, and will be removed in a future versio
n. To use the new parser, pass option { useNewUrlParser: true } to MongoClient.connect.




HTTPX 基础教程-新乡seo|网站优化,网站建设_微信公众号:zeropython—昊天博客