ObjectId

org.bson.types.ObjectId

Inside an ObjectId, it contains 
1. timestamp
2. machineIdentifier
3. processIdentifier
4. counter

MongoObjectId contains an embedded timestamp of its creation time














The following link is to an online converter will convert from timestamp to ObjectId and vice versa.
http://steveridout.github.io/mongo-object-time/

No comments:

 Python Basics How to check the version of Python interpreter mac terminal

Popular in last 30 days