.dataset().row()

.dataset(...).row(id: number): Row

This method returns a Row instance, which provides methods which can be used to read and manipulate the data of a row in a CloudTable.

Note that the result from this method can be stored should you wish to operate on the row multiple times - for example, the following code will get the data for a given row, check a value in it, and if it meets certain criteria, deletes it:

row = api.dataset('{dataset-id}').row(id)
rowData = row.data()
if rowData['dp-1'] > 10:
	row.delete()

Parameters

  • id number
    The ID of the row to be worked with.

Returns

The returned object is an instance of the Row class which provides the following methods: