to use the new parser, pass option { usenewurlparser: true } to mongoclient.connect
(2)
0
DeprecationWarning: 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.