--- title: "create table cache()" slug: "create-table-cache" updated: 2026-08-11T08:45:37Z published: 2026-08-11T08:45:37Z canonical: "docs.lobstersoftware.com/create-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. # create table cache() Creates a table cache with the name **a**, the primary key **b** and the further columns **c** to **k**. The return value of the function is **a**. ## Parameters | Parameter | Description | | --- | --- | | a | Name of the table cache. | | b | Name of the first column (primary key). | | c...k | (optional) Names of further columns. | ## Examples | Parameter a | Parameter b | Parameter c | Parameter d | Result | | --- | --- | --- | --- | --- | | article | id | name | supplier_Id | article | Creates a table cache with name *article*, the column containing the primary key with name *id* and two other columns named *name* and *support_Id*. | Parameter a | Parameter b | Parameter c | Parameter d | Result | | --- | --- | --- | --- | --- | | supplier | id | supplier_name | supplier_country | article | Creates a table cache with name *supplier*, the column containing the primary key with name *id* and two other columns named *supplier_name* and *supplier_country*. ### References Character *>* is used to specify references to other table caches. | Parameter a | Parameter b | Parameter c | Parameter d | Result | | --- | --- | --- | --- | --- | | article | id | name | supplier_Id>supplier | article | The column *supplier_Id* references to the table cache with the name *supplier*. This definition is the prerequisite for later retrieving referenced values with the function [get value from table cache()](/v1/docs/en/get-value-from-table-reference-cache) (see there).