updated docs for GetBulkItems (#54)

This commit is contained in:
Mark Chmarny 2020-08-18 09:42:22 -07:00 committed by GitHub
parent 44077b5b71
commit d9d7785509
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -115,11 +115,11 @@ if err := client.SaveStateItems(ctx, store, item1, item2, item3); err != nil {
}
```
Similarly, `GetStateItems` method provides a way to retrieve multiple state items in a single operation:
Similarly, `GetBulkItems` method provides a way to retrieve multiple state items in a single operation:
```go
keys := []string{"key1", "key2", "key3"}
items, err := GetStateItems(ctx, store, keys, 100)
items, err := GetBulkItems(ctx, store, keys, 100)
```
And the `ExecuteStateTransaction` method to transactionally execute multiple `upsert` or `delete` operations.