saveTable(name, table)
Save a table to the SPUPad as name.
The saveTable() function requires that the table being saved must contain only
string, number, or table data. The saveTable()
and restoreTable() functions encode the table data using JSON format but are more
memory efficient than using json.encode() + saveString() since the result of
json.encode() does not have to be returned to nzLua.
When saving or restoring large tables it may be necessary to increase the memory allowed for the
nzLua UDX by using the setMaxMemory() function (see Netezza Database functions).
Example
t = {a","b","c", 1, 2, 3, {"x", "y", "z"}}
saveTable("mytable", t)