aliyun-tablestore-go-sdk
aliyun-tablestore-go-sdk copied to clipboard
TableStore SDK for Golang
I tried to update MaxVersion without changing TimeToLive's value, but it hit 'OTSParameterInvalid TimeToLive cannot be 0 or less than -1.' issue with the code below. ``` fmt.Println("UpdateTableSample started") updateTableReq...
```go func BatchWrite(cli *tablestore.TableStoreClient, tableName string) { cs := make(map[string][]tablestore.RowChange) for i := 0; i < 200; i++ { putRowChange := &tablestore.PutRowChange{TableName: tableName, PrimaryKey: &tablestore.PrimaryKey{}} putRowChange.PrimaryKey.AddPrimaryKeyColumn("pk1", strconv.Itoa(i)) putRowChange.PrimaryKey.AddPrimaryKeyColumnWithAutoIncrement("pk2") putRowChange.AddColumn("col_"+strconv.Itoa(1), strconv.Itoa(i))...
Add securityToken to NewClient API
We use this library in Dapr and we noticed that was depending on outdated dependencies, including some like `github.com/satori/go.uuid` which had security vulnerabilities. Hopefully this upgraded most dependencies (not all...