thank you for your time first!
The map:
Country:{
Sweden: 3,
US: 4,
UK: 9
}
How could I check if the country name exists in the map, if not then creating it and set it to a default value. For example, Spain is not in the map, how could I use if_not_exits()?
The document mentioned this function here :http://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.Modifying.html .
I found someone applied the if_not_exits() for a list: Is it possible to combine if_not_exists and list_append in update_item. Then how it works for a map?
Looking forward to your reply and thank you so much!
Sincerely