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 –