Skip to content

Commit

Permalink
Update dynamodb.js
Browse files Browse the repository at this point in the history
Added ScanIndex to DynamoDB.js
  • Loading branch information
ademravi authored Sep 29, 2023
1 parent d9a0239 commit 5b8d447
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/aws/stepDefinitions/dynamodb.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,9 @@ async function dynamoQuery (activeArgs, additionalArgs) {
if (dynamoQueryArgs.projectionExpression) {
queryParameters.ProjectionExpression = dynamoQueryArgs.projectionExpression
}
if (dynamoQueryArgs.scanIndexForward) {
queryParameters.ScanIndexForward = dynamoQueryArgs.scanIndexForward
}
if (dynamoQueryArgs.indexName) {
queryParameters.IndexName = dynamoQueryArgs.indexName
}
Expand Down Expand Up @@ -193,6 +196,7 @@ async function performDynamoDBQueryFromJSON (payload) {
case 'tableName':
case 'indexName':
case 'projectionExpression':
case 'scanIndexForward':
case 'filterExpression':
case 'keyConditionExpression':
case 'expressionAttributeNames':
Expand Down

0 comments on commit 5b8d447

Please sign in to comment.