You are here:
createTemporaryTable(name, columns, indices)
Facade.createTemporaryTable(name, columns, indices) allows creation of modeled tables to store data temporarily.

Use more general search terms.
Select fewer filters to broaden your search.
You are here:
Facade.createTemporaryTable(name, columns, indices) allows creation of modeled tables to store data temporarily.
| Available in Lightning Experience in Professional, Unlimited, and Enterprise Editions that have Consumer Goods Cloud enabled. |
The data from the selected datasource is filled in the table so that it can be referenced by other datasources. This enhancement in Framework helps in the following way:
Multiple DB queries can use the same temporary data.
A complex SQL statement that is executed,can use the data in more than one sub statement.
When the process completes, the data can be cleared from the table so that the table can be reused. Temporary tables are created based on the defined parameters.
name: is the name of the temporary table that can
be used in data sources as regular table.
columns: is an array of JSON objects (each
represents one column) that define the column names and domains.
indices: is an array of JSON objects (each
represents one index) that define the index name, an array involved in the columns
(order represents the order in the index), and an optional flag that marks the index as
unique.
INSERTINTO and DELETEFROM can be executed on the table using the following methods:
insertQueryIntoAsync (tableName, selectFromDatasourceName, selectParamsJson
deleteFromTableAsync:(tableName, whereCond)

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.