I\'m using MongoDb (as part of MongoJS) in Node. Here is the documentation for MongoJS.
MongoDb
MongoJS
Node
I\'m trying to do a call within Node based
You can also destructure your ObjectId and MongoClient to optimize your code and make it more readable.
const { MongoClient, ObjectId } = require('mongodb');