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"
}
[
"01HWBF4H8YGJEWWJA84WKQM243",
"01HWBF4H8ZMX7KZS1JW4Q4RTTV",
"01HWBF4H902EQSCR278N2NB2H1",
"01HWBF4H91V18YTT3QABT5WA5F",
"01HWBF4H92YV9PK92K21NGQ723"
]

Specification

JSON schema

{}