TypeError: `connect` only accepts a callback code example
Example: connect only takes callback
const mongodb = require('mongodb');
const MongoClient = mongodb.MongoClient; // <-- do *not* call method
const mongodb = require('mongodb');
const MongoClient = mongodb.MongoClient; // <-- do *not* call method