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 | 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 | 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 | 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. |