BSONObjectID.generate

Generates a unique object ID. * * By default it will use Clock.currTime(UTC()) as the timestamp * which guarantees that BSONObjectIDs are chronologically * sorted.

struct BSONObjectID
@safe static
generate
(
in SysTime time = Clock.currTime(UTC())
)

Meta