Support for binary subtype 0x04 UUIDs
nmoreaud opened this issue · 0 comments
nmoreaud commented
Hello,
While searching on the web, I have seen no mention for mongoengine support of current version of mongo UUID fields (binary subtype 0x04).
When I use the following definition it generates a binary subtype 3 ; which MongoDB compass doesn't display efficiently.
class User(mongoengine.Document):
id = mongoengine.UUIDField(primary_key=True, required=True, default=lambda: str(uuid.uuid4()))
u = User()
u.save()
Do you support "binary subtype 0x04 UUIDs"?
How can we use them?
Is there an easy migration path?
Thanks for your support
Tested with version: 0.27
MongoDB 4.4.14 Community