aws-sdk-js
aws-sdk-js copied to clipboard
Add ConditionExpression to DynamoDB batch write
I would like to put a bunch of items with batchWrite if my condition validates, even putItem is supporting ConditionExpressions for that purpose, DynamoDB batchWrites do not support ConditionExpressions. For that I have to make many parallel calls to DynamoDB which could be solved with batchWrite if it had ConditionExpressions support. If we had it in batchWrite that would save me a lot.
Same question!!!
same here!
I have the same problem, it took me hours to figure it out.
does the DDB API even support batch writes with conditional expressions?
Hello. This is not something that's supported by the DynamoDB API, and is called out in the DynamoDB documentation.