[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
已提問 3 年前檢視次數 2443 次
1 個回答
1
已接受的答案

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

已回答 3 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南