Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Function: curValue

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

Syntax

curValue(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

curValue('order_id')

curValue() returns the current value in the sequence

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

curValue() returns [1,1]

See Also

  • No labels