deprecation warning node js mongodb useunifiedtopology code example
Example: { use UnifiedTopology: true }
mongoose.connect("mongodb://localhost:27017/NAME", { useUnifiedTopology: true, useNewUrlParser: true });
mongoose.connect("mongodb://localhost:27017/NAME", { useUnifiedTopology: true, useNewUrlParser: true });