Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Excerpt
hiddentrue

nextValue(sequence) Returns the next value from a named Sequence.


Function: nextValue

Returns the next value from a named Sequence.

Syntax

nextValue(sequence)

ArgumentTypeDescription
sequenceStringThe 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]

...