Skip to content

[PIN-4430] Optimize query for finding beneficiariesByAssistance

Petr Šopf requested to merge feature/PIN-4430 into develop

Sadly, there is still N+1 query problem on "reliefPackages", "booklets" and "nationalCardIds" properties - since those are 1:M with multiple properties, there is no way to load them as part of one query. If we would like to optimize this more, the response itself would have to be changed.

Edited by Petr Šopf

Merge request reports

Loading