All Products
Search
Document Center

Tablestore:Data operations

Last Updated:May 26, 2025

This topic describes the data operations supported by Tablestore SDK for Go.

Operation

Description

Write data

You can write data to a Tablestore data table. You can write a single row of data, update a single row of data, or write multiple rows of data at the same time.

Read data

You can read data from a Tablestore data table. You can read a single row of data, read multiple rows of data at the same time, or read data whose primary key value is within a specific range.

Delete data

You can delete data from a Tablestore data table. You can delete a single row of data or delete multiple rows of data at the same time.

Filter

You can use a filter to filter the read results on the server side based on the filter conditions. Only rows of data that meet the filter conditions are returned.

Conditional update

You can update data in a table only when the specified conditions are met. If the specified conditions are not met, the update fails and an error message is returned.

Atomic counter

The atomic counter feature allows you to specify a column as an atomic counter and perform atomic counter operations on the column.

Local transaction

After you enable local transaction for a data table, you can create a local transaction based on a partition key value. You can read and write data in the local transaction and then commit or discard the local transaction based on your business requirements.