[MONGODB DRIVER] Warning: 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.
https://stackoverflow.com/questions/57895175/server-discovery-and-monitoring-engine-is-deprecated
Server Discovery And Monitoring engine is deprecated
I am using Mongoose with my Node.js app and this is my configuration: mongoose.connect(process.env.MONGO_URI, { useNewUrlParser: true, useUnifiedTopology: true, useCreateIndex: true,
stackoverflow.com
Mongoose 5.7.1 버전 useUnifiedTopology: true 옵션 추가됨
mongoose.connect(mongoConnectionString, {useNewUrlParser: true, useUnifiedTopology: true});
'DB > MongoDB' 카테고리의 다른 글
[ MONGODB ] 기간 조회 (0) | 2022.06.08 |
---|---|
[ MongoDB ] mongorestore (0) | 2021.12.24 |
[ MongoDB ] Populate Self Reference Fail (0) | 2021.05.11 |
[ MongoDB ] match 사용 (0) | 2021.01.06 |
[ MongoDB ] Object Child Update Detection (0) | 2021.01.04 |