1
子文檔中我有像子文檔以下JSON文檔爲了在DocumentDB
[
{
"id": "73e799df-b7a5-7470-4f25-ee6c1811a5b2",
"tblType": "search",
"memberId": 2,
"results": [
{"prcnt": 89,"distance": 8867775.747141607},
{"prcnt": 30,"distance": 11010216.470879028},
{"prcnt": 96,"distance": 9128590.716183286},
{"prcnt": 41,"distance": 9652043.937920697}
]
}
]
我想prcnt只得到與順序查詢「結果」標籤數據
當我執行查詢,得到的錯誤如下SELECT TOP 10 m.results FROM米加入m.results r其中m.memberId = 2 和m.tblType = '搜索' 命令由r.prcnt
..
訂單超過相關的收藏品不被支持。
如何根據我的要求獲取數據。
在此先感謝!
的[DocumentDB排序結果由值到一個數組(可能的複製http://stackoverflow.com/questions/35584755/documentdb-sort-results-by-a-value-into-an-數組) – Mikhail
你解決了這個問題嗎,你需要進一步的支持嗎? –