Cosmos: Allow users to pass in a QueryRequestOptions on a per-query basis
Open
area-cosmos
area-query
needs-design
- Dominant language
- C#
- Stars
- 14.8k
- Forks
- 3.4k
- PR merge metrics
- PR metrics pending
Description
Cosmos allows tweaking query execution in many ways via [QueryRequestOptions](https://learn.microsoft.com/en-us/dotnet/api/microsoft.azure.cosmos.queryrequestoptions?view=azure-dotnet); we could have a WithQueryRequestOptions() operator to allow the user to specify this.
Note that we already set PartitionKey and MaxItemCount.
Contributor guide
Assessment
This issue has not been assessed yet.