SQL Yoga version 1.1.0 build 4 :: Visit website

Printer friendly version

command sqlyoga_arrayPush

Adds a new element onto the end of an array.

command sqlyoga_arrayPush @pArrayA, pValue
Parameters
TypeNameDescription
Simple parameter. @pArrayA The array to add an element to. A new key equal to the number of elements of pArrayA + 1 will be added.
Simple parameter. pValue Variable to add to array.
Description

put "a value" into theFieldsA[1] 
sqlyoga_arrayPush theFieldsA, "another value" -- added to theFieldsA[2]

Return

empty