When working with the AWS CLI for DynamoDB, it is possible to update an attribute in one query without modifying the rest of the item. A guide on how to do this can be found here:
However, when attempting to achieve the same task using dynamodb-data-mapper, it seems that two queries are required based on the example provided here: https://github.com/awslabs/dynamodb-data-mapper-js#update
The question arises whether there is a way to accomplish the updating of an attribute in one query using dynamodb-data-mapper.