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
If you are using MongoJS, you can do:
var ObjectId = mongojs.ObjectId;
Then,
db.users.find({"_id": ObjectId(id)}, function(err, user){...}