We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.17
v5.0.6
batchWriteReq := &tablestore.BatchWriteRowRequest{} for _, data := range datas { putRowChange := new(tablestore.PutRowChange) putRowChange.TableName = table_im_user_pool putPk := new(tablestore.PrimaryKey) putPk.AddPrimaryKeyColumn("pk1", "xxxx") putPk.AddPrimaryKeyColumnWithAutoIncrement("pk2") putRowChange.PrimaryKey = putPk putRowChange.AddColumn("col", "xxxxx") putRowChange.SetCondition(tablestore.RowExistenceExpectation_IGNORE) // 这里设置了 putRowChange.SetReturnPk() batchWriteReq.AddRowChange(putRowChange) } // resp内并没有返回主键 resp, err := client.BatchWriteRow(batchWriteReq)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
1.17
v5.0.6
The text was updated successfully, but these errors were encountered: