Options
All
  • Public
  • Public/Protected
  • All
Menu

Data provided to Publisher.addRowsFromJsonUri used to add rows to a data table using data stored in a JSON file served at a URI. The JSON file should be of the form:

{
columns: Array<{
name: string,
dataType: 'int'
| 'long'
| 'float'
| 'double'
| 'decimal'
| 'binary'
| 'bool'
| 'string'
| 'date'
| 'datetime'
| 'timespan',
}>,
data: any[][],
format: 'dataTable',
version: '1.0',
}

Hierarchy

  • AddRowsFromUriRequest

Index

Properties

Properties

table: { id?: string; name?: string }

The target table to which rows will be added defined by the table id or name - one of these must be provided. If both fields are provided, the id is used preferentially to find the table in the document.

Type declaration

  • Optional id?: string
  • Optional name?: string
uri: string

The location of the JSON containing the data to add to the target data table.

Generated using TypeDoc