deleteData
Description
Input / Parameters
No
Name
Description
Data Type
Required
Output
Callback
Video
Example
Step
Result

Links
Last updated
Delete a record from a staging database.
1
dataset
Name of the dataset in staging table which will be deleted.
String
Yes
2
_id
Value from the staging database and used for identify which record will be updated.
Integer
Yes
The user wants to delete the data from staging table.
Create a table with a table name and fields in staging table and create a dataset in Services. (We assumed that the table , fields and dataset have been created.) table name: customer Fields name: tel, name and add Dataset: customer_1 Set value: tel:34345678, name: 111, add:abc

Call the function "deleteData", define the dataset and id. dataset: customer_1 _id: 10

Call the function "loadData" and set the dataset. dataset: customer_1

Add a console after callback for display the response from console.


( The result display in editor.)
( The row for tel:34345678, name: 111, add:abc have been remove successfully.)
Last updated