WWW.DBVERSITY.COM
WWW.DBVERSITY.COM
Menu
  • Home
  • About us
  • Discussions
  • Login / Register
Welcome to the world of Database Technologies
Browse: Home » [MongoDB] : Understanding ObjectId() vs UUID()

[MongoDB] : Understanding ObjectId() vs UUID()

December 5, 2018 · by dbversity · in MongoDB

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…

Categories

Categories

Copyright © 2025 WWW.DBVERSITY.COM

Powered by WordPress and Origin