Skip to main content

Scalar functions

ulid

Commentary

added in 0.9.1

Generates textual instances of Universally Unique Lexicographically Sortable Identifiers (ULIDs).

ULIDs are useful when you want to generate random, yet time-sortable, identifiers while running many concurrent ShadowTraffic instances.


Examples

Generating ULIDs

This function takes no parameters.

{
"_gen": "ulid"
}
[
"01HWBF4H8Y4ND2F15GTQJA2ER7",
"01HWBF4H8ZV9CZPNK12WJWKVEN",
"01HWBF4H907G00X2SGM4ZX0RRM",
"01HWBF4H91CCD4NZ7DA4KVMPSH",
"01HWBF4H92AHZDSAS2DZJF524Z"
]

Specification

JSON schema

{}