我有以下json。我正在尝试在中午嵌套数组中找到某个nooni4Id。我以为这可以用,但是当然不能用
从c中选择c值c在c.vess.noons中加入n,其中n.nooni4Id ='67bfb4ae-55ba-44dc-b9e7-f3d4e07b5360'
我是否需要添加另一个联接,因为它下降了2个级别?
{
"imo": "9239630",
"vess": [
{
"passageId": "4f8fd2c9-735a-4565-9845-72f3e40b5da2",
"DateCreated": "2019-09-03T20:23:19.0000000Z",
"AtSeaHours": 73.55,
"InPortHours": 0,
"CPTerm": null,
"CargoWeight": 66183.52,
"CargoUnits": "MT",
"noons": [
{
"noonId": "0bc1bf59-3788-4e49-bb32-6a3e3a4ff450",
"nooni4Id": "67bfb4ae-55ba-44dc-b9e7-f3d4e07b5360",
"ReportTimeUTC": "2017-12-08T16:30:00.0000000Z"
},
{
"noonId": "7b96c8f8-c32b-43c0-b41a-40d739191942",
"nooni4Id": "3a0dc3b4-12fd-44a0-8b3f-b17fd3888114",
"ReportTimeUTC": "2017-12-09T12:00:00.0000000Z"
},
{
"noonId": "73fd21c1-04ed-400b-ad5d-1ce48aea720d",
"nooni4Id": "a5a15bcf-a052-49e6-8741-4246388413bf",
"ReportTimeUTC": "2017-12-10T11:00:00.0000000Z"
},
{
"noonId": "31a51651-df4c-4487-9929-02e6abca9c00",
"nooni4Id": "2caff74c-91d3-4638-b915-a7c2ed4cc838",
"ReportTimeUTC": "2017-12-11T11:00:00.0000000Z"
},
{
"noonId": "07af94f8-7fcd-4315-a2e5-10547db286e1",
"nooni4Id": "9571c1a1-3a46-4637-852d-4d7bc11c0b0b",
"ReportTimeUTC": "2017-12-11T18:03:00.0000000Z"
},
}
],
"hfdata": null,
"weather": null,
"ETAStatus": null,
"DailyTCPFuel": 0,
"DailyTCPChangePercent": 0,
"SeaTrialFuel": 0,
"SeaTrialChangePercent": 0,
"FuelPerDistance": 0,
"FuelPerDistanceChangePercent": 0,
"LastEvent": null
},
{
"passageId": "b7d0225b-91ac-46ac-bfc2-e74a7add7627",
"DateCreated": "2019-09-03T20:23:19.0000000Z",
"AtSeaHours": 29.7,
"InPortHours": 1,
"CPTerm": null,
"CargoWeight": 0,
"CargoUnits": "MT",
"noons": [
{
"noonId": "aac94413-3902-43e8-b9b0-1e1ec74126d4",
"nooni4Id": "7302c1d6-61f7-4ee1-90cf-0fdbc97c3642",
"ReportTimeUTC": "2017-12-13T19:15:00.0000000Z"
},
{
"noonId": "b61eb3c1-f6fc-41af-9da6-cd50c2c8a6d3",
"nooni4Id": "3bbbd92a-8f8a-4966-beac-15efa21f888b",
"ReportTimeUTC": "2017-12-14T11:00:00.0000000Z"