Answers for "create object id from mongoose"

0

mongoose generate new ObjectId

var mongoose = require('mongoose');
var id = mongoose.Types.ObjectId();
Posted by: Guest on June-11-2021

Browse Popular Code Answers by Language