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 need to require the ObjectId function before using it:
var ObjectId = require('mongodb').ObjectID;