Skip to content

Glossary: MongoDB

ObjectId

Also written: ObjectId()

MongoDB's default 12-byte `_id`, unique without a central counter. Its first 4 bytes are a timestamp, so later ids sort later.

Where the book teaches it

Related terms

_idBSON