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"
}
[
"01HWBF4H8Y2FA22F4F4NXV9G58",
"01HWBF4H8ZRHPVWK9QXYN6XDRX",
"01HWBF4H90XD3APXD1FBCS1EE3",
"01HWBF4H911NY4313WVJW0TFRF",
"01HWBF4H92M821S8DXN6AM7NCW"
]

Specification

JSON schema

{}