Skip to content

Commit ae85c92

Browse files
Merge pull request #225 from alfredkoncsag/patch-1
Update README.md
2 parents e5290d8 + 387a5e9 commit ae85c92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ DynamoDb::table('articles')
504504
->scan(); // supports any DynamoDbClient methods (e.g. batchWriteItem, batchGetItem, etc.)
505505
506506
DynamoDb::table('articles')
507-
->setIndex('author_name')
507+
->setIndexName('author_name')
508508
->setKeyConditionExpression('#name = :name')
509509
->setProjectionExpression('id, author_name')
510510
// Can set the attribute mapping one by one instead

0 commit comments

Comments
 (0)