After you create a data table, you can read, write, update, and delete data in the table by calling basic data operation API operations.
API operations
The following table lists the API operations for basic data operations on data tables.
|
Item |
API |
Description |
|
Read a single row of data |
Reads a single row of data. |
|
|
Write a single row of data |
Writes a new row of data. The system deletes all versions of data in all columns of the existing row before writing the new row. |
|
|
Update a single row of data |
Adds or removes an attribute column in a row, deletes a specific version of data from an attribute column, or updates the value of an existing attribute column. If the row does not exist, a new row is added. |
|
|
Delete a single row of data |
Deletes a single row of data. If the specified row does not exist, the data table remains unchanged. |
|
|
Read data whose primary key values are within a specific range |
Reads data whose primary key values fall within a specific range. |
|
|
Read multiple rows of data at the same time |
Reads multiple rows of data from one or more tables in a single request. |
|
|
Write multiple rows of data at the same time |
Writes multiple rows of data to one or more tables in a single request. |