aws icon indicating copy to clipboard operation
aws copied to clipboard

DynamoDB conditions: Missing `attribute_not_exists`?

Open nomeata opened this issue 4 years ago • 2 comments

I am trying to write a PutEvent that checks that the item does not already exist, as per https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ConditionExpressions.html#Expressions.ConditionExpressions.PreventingOverwrites, but it seems that attribute_not_exists is missing from CondOp?

nomeata avatar Apr 11 '20 10:04 nomeata

Happy to take a PR that adds it! :)

aristidb avatar Apr 11 '20 13:04 aristidb

Still a very early user of DynamoDB and aws here… maybe some other time when I feel more confident :-)

nomeata avatar Apr 11 '20 17:04 nomeata