[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
preguntada hace 3 años2446 visualizaciones
1 Respuesta
1
Respuesta aceptada

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 hace 3 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas