0
votes

The AWS CLI for DynamoDB can update an attribute using one query (without modifying the rest of the item), such as described here : https://www.dynamodbguide.com/updating-deleting-items

I try to do the same using dynamodb-data-mapper, but according to the following example it requires two queries : https://github.com/awslabs/dynamodb-data-mapper-js#update

Is there a way to achieve the update of an attribute in one query using dynamodb-data-mapper ?

1

1 Answers