Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmos: Add explicit partition key support for queries #17320

Closed
AndriySvyryd opened this issue Aug 20, 2019 · 3 comments
Closed

Cosmos: Add explicit partition key support for queries #17320

AndriySvyryd opened this issue Aug 20, 2019 · 3 comments
Labels
area-cosmos area-query closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Milestone

Comments

@AndriySvyryd
Copy link
Member

AndriySvyryd commented Aug 20, 2019

The partition key would be specified using .WithPartitionKey(), e.g.

var blogs = context.Blogs.WithPartitionKey("10").ToList();
@smitpatel smitpatel mentioned this issue Aug 20, 2019
82 tasks
@ajcvickers ajcvickers added this to the Backlog milestone Aug 26, 2019
@AndriySvyryd AndriySvyryd changed the title Cosmos: allow cross-partition queries Cosmos: Allow cross-partition queries Sep 10, 2019
@AndriySvyryd AndriySvyryd changed the title Cosmos: Allow cross-partition queries Cosmos: Allow cross-partition and other feed options for queries Nov 27, 2019
@AndriySvyryd AndriySvyryd changed the title Cosmos: Allow cross-partition and other feed options for queries Cosmos: Add partition key other options for queries Mar 15, 2020
@AndriySvyryd AndriySvyryd changed the title Cosmos: Add partition key other options for queries Cosmos: Add partition key and other options for queries Mar 15, 2020
@AndriySvyryd AndriySvyryd changed the title Cosmos: Add partition key and other options for queries Cosmos: Add explicit partition key support for queries Mar 16, 2020
@AndriySvyryd AndriySvyryd added the closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. label Mar 18, 2020
@AndriySvyryd AndriySvyryd modified the milestones: Backlog, 5.0.0 Mar 18, 2020
@AndriySvyryd
Copy link
Member Author

Fixed by 7e02fdb

@ajcvickers ajcvickers modified the milestones: 5.0.0, 5.0.0-preview3 Mar 31, 2020
@balukantu
Copy link

@AndriySvyryd , I would like to work on WithPartitionKey method. Could you please provide the EFCore version in which the fix is available.

@AndriySvyryd
Copy link
Member Author

@balukantu It's included in 5.0.0-preview3

@ajcvickers ajcvickers modified the milestones: 5.0.0-preview3, 5.0.0 Nov 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-cosmos area-query closed-fixed The issue has been fixed and is/will be included in the release indicated by the issue milestone. type-enhancement
Projects
None yet
Development

No branches or pull requests

4 participants