Answers for "mongodb where query to get objectid"

Go
2

what is objectid in mongodb

var ObjectId = require('mongodb').ObjectID
var id = new ObjectId();
console.log(id)
Posted by: Guest on December-05-2020

Code answers related to "mongodb where query to get objectid"

Browse Popular Code Answers by Language