All Products
Search
Document Center

Tablestore:RowInBatchWriteRowRequest

Last Updated:Aug 06, 2024

Specifies the information about the row that you want to insert, update, or delete by calling the BatchWriteRow operation.

Data structure

message RowInBatchWriteRowRequest {
    required OperationType type = 1;
    required bytes row_change = 2;
    required Condition condition = 3;
    optional ReturnContent return_content = 4;
} 

Parameter

Type

Required

Description

type

OperationType

Yes

The type of the operation.

row_change

bytes

Yes

The row data, including the primary key and attribute columns. The value is encoded in PlainBuffer. For more information, see PlainBuffer.

condition

Condition

Yes

The condition that must be met to perform the operation. The condition can be a row existence condition or a condition based on column values.

return_content

ReturnContent

No

The content that you want to return after the row is inserted. Only the primary key can be returned. This parameter is mainly used by the auto-increment primary key column feature.

References

BatchWriteRow