[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
feita há 3 anos2419 visualizações
1 Resposta
1
Resposta aceita

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

respondido há 3 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas