Inserting and updating items to DynamoDB lists and maps
Should I use a map or a list? A simple rule:
- If you need to update or remove an item, lists only allow you to do it by index. While maps let you do it by key.
Their simplified representation goes like this:
1{
2 "someMap": {
3 …