how to set a objects with mongoose with a id code example
Example: mongoose generate objectid
var mongoose = require('mongoose');
var id = mongoose.Types.ObjectId();
var mongoose = require('mongoose');
var id = mongoose.Types.ObjectId();