Data operations

更新时间:
复制 MD 格式

Use the Tablestore Node.js SDK to perform data operations on data tables, such as writing, reading, updating, and deleting data.

Operation

Description

Write data

Write data to a data table by writing a single row of data or performing batch data operations.

Update data

Update data in a data table by updating a single row of data or performing batch data operations.

Read data

Read data from a data table by reading a single row of data, reading data in a range, or reading data in batches.

Delete data

Delete data from a data table by deleting a single row of data or performing batch data operations.

Filter

Filter read results on the server side to return only rows that match the specified conditions.

Conditional update

Update data only when it meets the specified conditions. If the conditions are not met, the update fails and returns an error.

Atomic counter

Use a column as an atomic counter for atomic increment and decrement operations.

Local transaction

Create a local transaction within a single partition key value to read and write data atomically. Commit or discard the transaction after the operations complete.