Divyanshu Semwal·Nov 14, 2019JavaScript journey: from Zero to HeroInitially, many developers felt that JavaScript is an inferior language because of its simplicity. In fact many developers didn’t assume…
Divyanshu Semwal·Nov 5, 2019Does Mongo DB create _id of document by itself?This question often confuse some developers, how mongo DB creates unique document _id so fast? But the truth is mongo DB doesn’t create…
InJavaScript in Plain EnglishbyDivyanshu Semwal·Nov 1, 2019How Mongo create unique Id for a document/object?You have noticed when you store a document in mongo db. Mongo sets the _id property by itself with value of long string like this.