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

Bulk Read questions #1448

Open
mattwill09 opened this issue Mar 22, 2024 · 0 comments
Open

Bulk Read questions #1448

mattwill09 opened this issue Mar 22, 2024 · 0 comments

Comments

@mattwill09
Copy link

Is there any consideration for being able to do a BulkRead on a non-unique column? The use case I have is that I have a parent table that has thousands of rows that match my criteria and I need to get all of the child rows for those parents. Right now the only way that I can do that is to get all of the parent rows and then get a list of their ids and then do a query like this

var attributeValues = await _dbContext.AttributeValue
    .Where(av => attributeIds.Contains(av.AttributeId))
    .ToArray();

Being able to get all of these children rows in a BulkRead I am sure would be much more efficient.

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

No branches or pull requests

1 participant