Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/reference/zmodel/function.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ Generates a unique identifier based on the [CUID](https://github.com/ericelliott

*Parameters:*

- `version` (optional): The CUID version to generate. Supported values are `1` (default) and `2`.
- `version` (optional): The CUID version to generate. Supported values are `1` (default) and `2`.<br />
The NPM package for **CUID v1 is deprecated**, so you should use `2` for all new projects.
- `format` (optional): A pattern to control the output format. `%s` in the pattern will be replaced by the generated id. Use escaped `\\%s` to have a literal `%s` in the output.

### nanoid()
Expand Down