TigerBeetlex.ID (tigerbeetlex v0.16.48)
View SourceUtility functions to generate TigerBeetle Time-Based Identifiers.
Summary
Functions
Converts an integer to a 128 bit binary id.
The integer is formatted in little endian format so that the correct ordering is preserved in TigerBeetle LSM trees.
Generate a TigerBeetle Time-Based Identifier.
This is a lexicographically-sortable time-based monotonic identifier. See TigerBeetle docs for the complete explanation of the format.