Como criar um ID usando o Mongoose
var mongoose = require('mongoose');
var id = mongoose.Types.ObjectId();
Drab Dolphin
var mongoose = require('mongoose');
var id = mongoose.Types.ObjectId();