AWS dynamobd查询

时间:2018-02-19 20:54:16

标签: amazon-web-services amazon-dynamodb

我试图通过分区键知道我搜索metatdata寻找密钥的ID实际上就是这样。此查询的结果

 aws dynamodb query --table-name name-of-table --key-condition-expression 'id = :idval' --filter-expression 'key = :keyval' --expression-attribute-values '{":idval": {"S":"91"},":keyval":{"S":"PROFILEA", "S":"PROFILEB", "S":"PROFILEC"}}'

是:

{    
  "Items": [],
  "Count": 0,
  "ScannedCount": 0,
  "ConsumedCapacity": null
}

1 个答案:

答案 0 :(得分:0)

尝试这样的事情

{{ url('__Controller__') }}