Versions Compared

Key

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



Excerpt
hiddentrue

curValue(sequence) Returns the current value from a named Sequence.


Function: curValue

Returns the current value from a named Sequence. This is generally the same as the last value returned by nextValue.

...

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

curValue('order_id')

curValue() returns the current value in the sequence


[curValue('order_id'), curValue('order_id')]

curValue() returns [1,1]

See Also