虽然我了解如何使用文档路径(例如 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'
没有成功。