Hi Edwin,
take a look at Mongo.uuid/1 (Mongo — mongodb-driver v1.6.3). I guess that’s what you are looking for.
Mongo.uuid/1