【发布时间】:2021-09-05 09:27:07
【问题描述】:
虽然我了解如何使用文档路径(例如 Devices.FireStick.DateWatched[0])在地图中选择列表项,但我不知道如何反过来做。 比如说,我有一个包含地图列表的属性:
"Text": [
{
"Right": "Line one, right text",
"Left": "Line one, left text"
},
{
"Right": "Line two, right text",
"Left": "Line two, left text"
}]
我想在我的 PartiQL 选择中获取第一行的左侧文本。我的幼稚做法:
select Text[0].Right from mytable where ID='123'
没有成功。
【问题讨论】:
标签: amazon-web-services amazon-dynamodb partiql