BsonObjectID.generate

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

struct BsonObjectID
static
generate
(
in SysTime time = Clock.currTime(UTC())
)

Meta