Skip to content

Commit b8d2a23

Browse files
superwesezoewangg
authored andcommitted
fix type
the QueryConditional is keyEqualTo
1 parent 2f3bcb7 commit b8d2a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services-custom/dynamodb-enhanced/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ index. Here's an example of how to do this:
153153
DynamoDbIndex<Customer> customersByName = customerTable.index("customers_by_name");
154154
155155
PageIterable<Customer> customersWithName =
156-
customersByName.query(r -> r.queryConditional(equalTo(k -> k.partitionValue("Smith"))));
156+
customersByName.query(r -> r.queryConditional(keyEqualTo(k -> k.partitionValue("Smith"))));
157157
```
158158
159159
### Working with immutable data classes

0 commit comments

Comments
 (0)