We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b300df4 commit a6672e9Copy full SHA for a6672e9
components/uid.rst
@@ -209,6 +209,13 @@ ULIDs are an alternative to UUIDs when using those is impractical. They provide
209
128-bit compatibility with UUID, they are lexicographically sortable and they
210
are encoded as 26-character strings (vs 36-character UUIDs).
211
212
+.. note::
213
+
214
+ If you generate more than one ULID during the same millisecond in the
215
+ same process then the random portion is incremented by one bit in order
216
+ to provide monotonicity for sorting. The random portion is **not**
217
+ random compared to the previous ULID in this case.
218
219
Generating ULIDs
220
~~~~~~~~~~~~~~~~
221
0 commit comments