Skip to main content

DatasetRowsClient

adaline.datasets.rows works with individual rows inside a dataset — list them, add new ones in batch, patch a single row’s cell values, or delete a row.

Access

The class is also exported directly:
Types from @adaline/api:

list()

List rows in a dataset (paginated). Use columns to narrow which column values are returned — useful for large cell payloads.

Parameters

Returns

Promise<ListDatasetRowsResponse> with { data: DatasetRow[]; pagination: Pagination }. Each DatasetRow.values is a map of column ID → cell value.

Example


create()

Create one or more rows in a single batch (up to 100). Use valuesBy to control whether the keys inside each row’s values object are column IDs or column names.

Parameters

Returns

Promise<AddDatasetRowsResponse> with { rows: DatasetRow[] } — the newly created rows with server-assigned IDs.

Example


update()

Update the cell values on a single row. Cell values you don’t include are left untouched.

Returns

Promise<DatasetRow> — the updated row.

Example


delete()

Delete a single row from a dataset. Irreversible.

Example


See Also