Excerpt | ||
---|---|---|
| ||
nextValue(sequence) Returns the next value from a named Sequence. |
Function: nextValue
Returns the next value from a named Sequence.
Syntax
nextValue(sequence)
Argument | Type | Description |
---|---|---|
sequence | String | The name of the sequence. This must be a literal string matching the name of an existing sequence - an expression resulting in a string will not be accepted. |
Examples
nextValue('order_id')
nextValue() returns the next value in the sequence
[nextValue('order_id'), nextValue('order_id'), nextValue('order_id')]
nextValue() returns [1,2,3]
...