Search code examples
amazon-web-servicesamazon-dynamodbdynamodb-queries

Project only keys of nested map in dynamodb


Is it possible to retrive only keys(food1, food2,.. foodN) of a nested map in dynamodb?

user:{
 food:{
  food1:{ value1:"",value2;""},
  food2:{ value33:""},
  ...
  foodN:{}
 }
}

Solution

  • No, this is not currently possible. Please refer to the Projection Expressions doc for more information.