append_item(arr: array, [val: storable]+) -> generic array

Returns an array containing all elements from the source array as well as the new element.

The new element is located at end of the array.

Domain

This is a scalar function (calculates a single output value for a single input row).

Categories

Examples

make_col foo:append_item(array, 'imp')

Make the column 'foo' by appending array field foo with 'imp'.