dotnet / dotnet/efcore

Cosmos: Allow users to pass in a QueryRequestOptions on a per-query basis

Open
#34,096 5 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.