简体   繁体   English

aws Dynamodb 通过 aws 管理控制台中的分区键获取多个项目

[英]aws Dynamodb get multiple items by partition key in aws management console

Can I get multiple items by partition key in aws management console for Ddynamodb without using BatchGetItem.我可以在不使用 BatchGetItem 的情况下通过 Ddynamodb 的 aws 管理控制台中的分区键获取多个项目吗? My Partition key is abcd1 abcd1 abcd2.我的分区键是 abcd1 abcd1 abcd2。 在此处输入图像描述

You cannot do this within the DynamoDB web UI because a Query which is used can only retrieve a single item collection, but you can achieve it using the PartiQL editor using SQL language.您不能在 DynamoDB Web UI 中执行此操作,因为使用的查询只能检索单个项目集合,但您可以使用 SQL 语言使用 PartiQL 编辑器来实现它。

SELECT * FROM mytable WHERE pk IN ['abc1','abc2']

You will need to modify the statement to suit your specific needs您将需要修改声明以满足您的特定需求

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM