1
我創建一個收集與分區鍵爲「/ countryId」,在當我讀取使用SQL查詢我指定FeedOptions {EnableCrossPartitionQuery =真}和查詢等如下DocumentDB使用EnableCrossPartitionQuery在特定集合上搜索設置True?
select * from collection c where (c.countryId=1 or c.countryId=2 or c.countryId=3)
多個文檔我想知道如何內部執行,我的意思是
我指定的countryId(partitionKey)在哪裏條件,它會去那個特定的分區只爲開發g文件?
或
它會去集合中的所有分區,並檢查每個文件countryId(partitionkey)
先謝謝了!!
謝謝你Aravind –