Suppose I have a "Employee" container with Partition Key as the "EmployeeId". What is the best way to query multiple employee items from this data store? I am using the .Net SDK V3 of Azure Cosmos Db
The option I could think of is -
Using ARRAY_CONTAINS() - link
Select * FROM Employee e where ARRAY_CONTAINS(@EmployeesIdList, e.EmployeeId)
This query will still be a cross-partitioned query. Also as per this, cross partition queries are enabled by default in the V3 sdk. So is this the correct way to query multiple such items?