Skip to main content

new_id

Function new_id 

Source
pub fn new_id() -> String
Expand description

Generate a new identifier suitable for use as a row_id, logical_id, or chunk/run/step/action id.

Returns a 26-character ULID (Universally Unique Lexicographically Sortable Identifier). ULIDs are timestamp-prefixed so IDs generated close in time sort together. They are case-insensitive and URL-safe.

This function is not part of the write path. Callers that already have stable identifiers are not required to use it.