Campo · Ulid

Campo · Ulid · string.ulid. Metodo di generazione · Esempio

string.ulid

Impostazioni

Genera dati per vedere i risultati.

Parametri & Esempio

Returns a ULID (Universally Unique Lexicographically Sortable Identifier).

string.ulid(options?: { refDate? })
options
The optional options object.
options.refDate
The timestamp to encode into the ULID. The encoded timestamp is represented by the first 10 characters of the result. Defaults to the configured reference date.

Esempio

"01KDVDNA00N4K2NDBT45SQETQX"

Usa dati sintetici nell’ambiente di test.

Generatori correlati

Esplora gli scenari