Function BsonObjectID.generate
Generates a unique object ID.
static BsonObjectID generate
(
in const(std .datetime .systime .SysTime) time = currTime(opCall())
) @safe;
By default it will use Clock
as the timestamp
which guarantees that BsonObjectID
s are chronologically
sorted.