[DDB] Is there batch update like batchWrite?

0

Hi,

There seems to be batchGet() and batchWrite() functions. However, there doesn't seem to be batchUpdate() function in DDB.

References:

Is this correct? If I want to update multiple rows, I cannot do in batch fashion. Or am I wrong?

profile pictureAWS
asked 3 years ago2353 views
1 Answer
1
Accepted Answer

Take a look at the new PartiQL support in DynamoDB. The BatchExecuteStatement API action allows up to 25 item reads or 25 item writes. The writes can be inserts, updates, or deletes - and you can also apply conditions.

https://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_BatchExecuteStatement.html

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions