Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to display MongoDB UUID binary ID columns in String UUID format in Jetbrain's Datagrip

Is there any way I can transform columns like this, directly into readable String UUID values inside the data view?

enter image description here

I would like to search directly for String UUID. Is this possible?

like image 980
Lennart Blom Avatar asked Oct 16 '25 01:10

Lennart Blom


1 Answers

Yes, but you need to tell MongoDB driver which UUID format you want to use (Java legacy, C# legacy or Python legacy).

Go to datasource settings > Advanced tab and edit uuidRepresentation value.

enter image description here

like image 155
Liudmila Kornilova Avatar answered Oct 18 '25 05:10

Liudmila Kornilova



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!