1 個回答
- 最新
- 最多得票
- 最多評論
0
To correctly query using PartiQL, ensure you include the partition key:
SELECT Table1SK
FROM Table1
WHERE Table1PK = 'somePartitionKey' AND begins_with(Table1SK, 'level1#level2#level3#')
Here, Table1PK should be replaced with the actual partition key attribute name and 'somePartitionKey' with the specific partition key value you want to query.
Hi,
Can the query be like below, or if multiple PKs needed, the only choice is to use few, with IN, OR clauses :
SELECT Table1SK FROM Table1 WHERE begins_with(Table1PK, 'somePartition') AND begins_with(Table1SK, 'level1#level2#level3#')
Thank you, Mihai ADAM
I'm not sure
相關內容
- 已提問 1 年前
- 已提問 2 個月前
- 已提問 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 2 年前
- AWS 官方已更新 4 個月前
please accept the answer if it was helpful