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