Champ · Ulid

Champ · Ulid · string.ulid. Méthode de génération · Exemple

string.ulid

Options du générateur

Générez des données pour les voir ici.

Paramètres & Exemple

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.

Exemple

"01KDVDNA00N4K2NDBT45SQETQX"

Utilisez des données synthétiques dans un environnement de test.

Générateurs associés

Explorer les scénarios