Skip to content

Conversation

@bjartebore
Copy link

In more complex queries there is a need to filter our joins to avoid over-fetching data.

This PR adds the possibility to add a Where() filter to an Include()

sanity.DocumentSet<Post>()
                .Include(p => p.Categories.Where(c => c.Value.CategoryId == 'abc'));

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant