Collection.Ensureindex Is Deprecated

Source URL: N/A

Language: javascript

Created on: 2020-12-01 18:51:48

mongoose.connect(dbURI, {
    useNewUrlParser: true,
    useUnifiedTopology: true,
    useCreateIndex: true,
    useFindAndModify: true,
})
Collection.Ensureindex Is Deprecated
content_copy