Skip to main content

Function: addRowsToDataset()

function addRowsToDataset(options: object): Promise<void>;
Defined in: src/utils/datasets.ts Appends rows to a dataset identified by ID or name. Delegates to Dataset.addRows().

Parameters

options

The options used to locate the dataset and rows to append.

datasetId?

string (Optional) The ID of the dataset.

datasetName?

string (Optional) The name of the dataset.

rows

Record<string, | null | string | number | Record<string, null | string | number>>[] The rows to append to the dataset.

Returns

Promise<void> A promise that resolves when the rows have been appended.