[MongoDB] : Understanding ObjectId() vs UUID()
ObjectId() Returns a new ObjectId value. The 12-byte ObjectId value consists of: a 4-byte value representing the seconds since the Unix epoch, a 5-byte random value, and a 3-byte counter, starting with a random value. ObjectId() can accept the following…