Skip to content

Commit

Permalink
perf(integration): try using split query for versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ArneD committed Aug 19, 2024
1 parent aeb31cf commit 7856795
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ await context
.Where(x => x.BuildingId == buildingId)
.Include(x => x.BuildingUnits).ThenInclude(y => y.Addresses)
.Include(x => x.BuildingUnits).ThenInclude(y => y.Readdresses)
.AsSplitQuery()
.OrderByDescending(x => x.Position)
.FirstOrDefaultAsync(ct);

Expand Down

0 comments on commit 7856795

Please sign in to comment.