Does Amazon DynamoDB support both increment and decrement atomic operations?

Does Amazon DynamoDB support both increment and decrement atomic operations?
A .  Only increment, since decrement are inherently impossible with DynamoDB’s data model.
B .  No, neither increment nor decrement operations.
C .  Yes, both increment and decrement operations.
D .  Only decrement, since increment are inherently impossible with DynamoDB’s data model.

Answer: C

Explanation:

Amazon DynamoDB supports increment and decrement atomic operations.

Reference: http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/APISummary.html

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments