insertData
Last updated
Last updated
Insert or add value in a staging database.
No | Name | Description | Data Type | Required |
---|---|---|---|---|
The user wants to insert the data into staging table.
Create a table with a table name and field in staging table. table name: customer Fields name: tel, name and add
Create a dataset is in Services. dataset: customer_1
Call the function "insertData", define the dataset and set function "toObject"to param. dataset: customer_1 param: toObject
Define the tel, name and add. tel: 34345678 name: 111 add: abc
Call the function "loadData"and define the dataset. dataset: customer_1
Add a console after callback for display the response from console.
N/A
1
dataset
Name of the dataset in stagging table where the record will be inserted.
String
Yes
2
param
Object name
Object
Yes