--- title: "add to table cache()" slug: "add-data-to-table-cache" updated: 2026-08-10T07:47:06Z published: 2026-08-10T07:47:06Z canonical: "docs.lobstersoftware.com/add-data-to-table-cache" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # add to table cache() Adds a new entry to the table cache **a** (if fewer values are specified than there are columns in the cache, the remaining columns are filled with empty strings ""). The return value of the function is **a**. ## Parameters | Parameter | Description | | --- | --- | | a | Name of the cache. **IMPORTANT:** If the cache does not exist, the function terminates with an error. | | b | Value for column 1 (= primary key) of the cache. | | c...k | Values for further columns. | ## Example First, a table cache was created using the function [create table cache()](/v1/docs/en/create-table-cache) and the following parameters. | Parameter a | Parameter b | Parameter c | Parameter d | | --- | --- | --- | --- | | article | id | name | supplier_Id | After that, the function described here is called to add an entry. | Parameter a | Parameter b | Parameter c | Parameter d | | --- | --- | --- | --- | | article | 100 | mobile phone | 4711 | Following the content of cache *article.* | id | name | supplier_Id | | --- | --- | --- | | 100 | mobile phone | 4711 |