InterviewSolution
What is use of _id Field in MongoDB?In MongoDB we use _id field always as a first field in the documents THEREFORE each document stored in a COLLECTION REQUIRES a UNIQUE _id field which is acts as a primary KEY.
Your experience on this site will be improved by allowing cookies. Read Cookie Policy