title: Options for tuning mongoose
body: <p>I am new to MongoDB and having a hard time understanding the different flag used inside connect() method which are passed inside the second object argument.</p>
  
  <pre><code>const connectDB = async() =&gt; {
      const conn = await mongoose.connect(process.env.MONGO_URI,{
          useNewUrlParser: true, useCreateIndex:true, useFindAndModify:false, useUnifiedTopology: true
      });
  }
  </code></pre>