Answers for "how to connect nodejs to mongodb using mongoose"

1

mongoose connect

mongoose.connect('mongodb://localhost:27017/test', {
  useMongoClient: true,
  connectTimeoutMS: 1000
})
Posted by: Guest on August-07-2020

Code answers related to "how to connect nodejs to mongodb using mongoose"

Browse Popular Code Answers by Language