Skip to content

Commit 387a5e9

Browse files
Update README.md
Fix query index
1 parent 3c85a7b commit 387a5e9

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)