mongo-typescript-example
mongo-typescript-example copied to clipboard
DepriciationWarnings
I am getting these warnings..please tell me how to clear these
(node:11710) 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. (node:11710) DeprecationWarning: 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 the MongoClient constructor.