4 ms·
I've started using python-ulid as ULIDs seem superior to UUIDs. https://pypi.org/project/python-ulid/ https://pypi.org/project/python-ulid/
by rjurney 2y ago
I've started using python-ulid as ULIDs seem superior to UUIDs. https://pypi.org/project/python-ulid/ https://pypi.org/project/python-ulid/
- openthc 2y agoI love ULID too; but it's really just UUIDv7 (or v8) with a mustache (it's all just 128bit IDs). And in the PG world, where there isn't native support for ULID one can use UUIDv7/8 and bridge that gap. We use ULID extensively in exposed IDs, it's very URL friendly, copy/paste friendly, etc -- but it's a UUID datatype in the DB. (ie: ULID => UUID => DB)
- rjurney 2y agoBut I thought ULID will work in a UUID field in Postgres? Will it in other DBs?