counter

A 3-byte incrementing counter per client-side process, initialized to a random value. Always positive.

The counter resets when a process restarts.

Example

ObjectId("699dfad90ca573f85c0eec1c").counter // 977948

See also