clearData
Description
Removes the local table specified from a project.
Input / Parameter
Name | Description | Input Type | Default | Options | Required |
---|---|---|---|---|---|
dataset | The name of the dataset to remove. | String/Text | - | - | Yes |
extra | Extra parameters stored and passed to callback. | Any | - | - | No |
Output
Description | Output Type |
---|---|
Returns an empty list. | Array/List |
Callback?
callback
The function to be executed if the dataset is removed successfully.
errorCallback
The function to be executed if the dataset is not removed successfully.
Video
Coming Soon.
Example
The user wants to delete the dataset lcart
from local table.
Step
Create a local table
lcart
.Add some fields for the table:
Call the "clearData" function and define the dataset.
Result
Before calling the clearData
function, the dataset lcart
exists as a local table. )
After calling clearData, l_cart no longer exists.
Links
Last updated