add to table cache(a, b [,c...k])


Adds a new entry to the table cache a consisting of the values b up to k. If no name is specified, the function will break with an error. If more columns are defined in the cache than there are values, the missing values will be set to an empty string.

The result of the function is a.

Description of Parameters

Parameter

Description

a

Name of the cache to add an entry.

b

Value for column 1 (= primary key) of the cache.

c...k

Further values.

Example

First, a table cache was created using the function create table cache(a,b[,c...k]) and the following parameters.

Parameter a

Parameter b

Parameter c

Parameter d

Result

article

id

name

supplier_Id

article

After that, the following function is called.

Parameter a

Parameter b

Parameter c

Parameter d

Result

article

100

mobile phone

4711

article

The values are kept in cache article.

id

name

supplier_Id

100

mobile phone

4711