[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
posta 3 anni fa2419 visualizzazioni
1 Risposta
1
Risposta accettata

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

con risposta 3 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande