430 Views
ObjectId is autogenerated when we insert any new record / document When working with MongoDB you might have noticed that, when we insert any document in the collection, an extra field with name _id is generated.The value of the generated _id is not any random number but its a value which is unique across all the databases in the world.
0 comments