I have a python software that inserts uuids in a mongo database using this code:
class User(mongoengine.Document):
id = mongoengine.UUIDField(primary_key=True, required=True, default=lambda: str(uuid.uuid4()))
In MongoDB Compass, it is shown as:
_id: Binary('ytSLGP47REmESqyzow9kAw==', 3)
or
"_id": {
"$binary": "ytSLGP47REmESqyzow9kAw==",
"$type": "3"
},
Can I force MongoDB Compass to show these fields as regular uuids without modifying my database?