1 Answer
1
To answer my own question (not sure why it was not obvious, maybe writing it down helped...):
The conditional needs to be (1) attribute_not_exists
OR the (2) <=
condition on the numeric field.
On the first UpdateItem() call, condition (1) is true and (2) is always false. On subsequent calls, (1) is false, but (2) can potentially be true.
answered a year ago
Relevant content
- asked a year ago
- AWS OFFICIALUpdated 7 months ago
- AWS OFFICIALUpdated 10 months ago
- AWS OFFICIALUpdated 7 months ago