Answers for "simple unique id for mongo"

Go
0

mongodb genrerate unique id

const ObjectId = require('mongodb').ObjectID
const id = new ObjectId();
console.log(id)
Posted by: Guest on February-16-2021

Browse Popular Code Answers by Language