The Custom Driver Table object.
Exposes Table related libraries.
Contains Column definition related information for the Table object
Methods
(static) getResult() → {DriverTableResult}
Returns the prepared table definition and values in the current driver execution
Returns:
- Type
- DriverTableResult
Example
driverTable.getResult()
(static) insertRecord(id, values)
Inserts a record inside the Custom Driver table object.
The final table and values will be send to the cloud with the D.success() callback implicitly
Parameters:
Name | Type | Description |
---|---|---|
id |
string | The unique identifier for the table record. Added as value for column "Id". Max 50 characters |
values |
Array.<any> | A list of values to be added in the table for that record |
Example
driverTable.insertRecord("myId", ["val 1", "val 2"])
(static) upsertRecord(id, values)
Inserts or Updates a record inside the Custom Driver table object.
The final table and values will be send to the cloud with the D.success() callback implicitly
Parameters:
Name | Type | Description |
---|---|---|
id |
string | The unique identifier for the table record. Added as value for column "Id". Max 50 characters |
values |
Array.<any> | A list of values to be added in the table for that record |
Example
driverTable.insertRecord("myId", ["val 1", "val 2"])