Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

convert to objectid mongoose

var mongoose = require('mongoose');
var id = mongoose.Types.ObjectId('4edd40c86762e0fb12000003');
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #convert #objectid #mongoose
ADD COMMENT
Topic
Name
5+5 =