driverTable

Namespace

driverTable

Description:
  • The Custom Driver Table object. Exposes Table related libraries. Contains Column definition related information for the Table object

Methods

(static) getResult() → {DriverTableResult}

Description:
  • Returns the prepared table definition and values in the current driver execution
Example
driverTable.getResult()
Returns:
Type
DriverTableResult

(static) insertRecord(id, values)

Description:
  • 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
Example
driverTable.insertRecord("myId", ["val 1", "val 2"])
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

(static) upsertRecord(id, values)

Description:
  • 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
Example
driverTable.insertRecord("myId", ["val 1", "val 2"])
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