MongoDB connection string format is fully documented on official site:

https://docs.mongodb.com/manual/reference/connection-string/


On first installation we strongly advise to specify on all MongDB connections the option uuidRepresentation with the value standard;

Please not that after first run, this option cannot be modified!


mongodb://username:password@host:port/database?uuidRepresentation=standard

Unfortunately on MongoDB each driver has its own default due legacy reasons, and each default is tecnology dependant.



Additional information can be found here:

https://docs.mongodb.com/manual/reference/connection-string/#urioption.uuidRepresentation

https://docs.mongodb.com/manual/reference/method/UUID/