Trường · Ulid

Trường · Ulid · string.ulid. Phương thức tạo · Ví dụ

string.ulid

Cài đặt trình tạo

Tạo dữ liệu để xem kết quả ở đây.

Tham số & Ví dụ

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.

Ví dụ

"01KDVDNA00N4K2NDBT45SQETQX"

Dùng dữ liệu tổng hợp trong môi trường kiểm thử.

Trình tạo liên quan

Khám phá kịch bản