random_key
Gives a random key: 16 lowercase hexadecimal characters, good for naming a record or an upload.
Runs on: either side: the compiler places the statement that calls it where the values it uses live.
Format:
random_key()
Parameters:
This function does not take any parameters.
Returned Value:
| Type | Description |
|---|---|
| string | the key |
Examples
ticket.code = random_key()