You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The idea is to preload ids of root entity and other data which can be used for easier filtering. The doCreateQuery method should return only one query related to root entity you want. It could include a lot of joined relations which means complicated query. Some relations can be loaded in postFetch now however some filtering conditions could be very complicated. Take a look on an example.
A want to filter some entities by 8 parameters. The relations are defined so I need them joined in the main query. However filtering parameters are defined only on a part of these. For example on 3 entities from 10 joined entities. The conditions could be complicated and related to performance it could be better to select only ids of root entity (and, if needed, ids of some joined relations). It is very simple to build main query then.
I know this is useful for 1 % of all use cases however I would like to use it :-)
Ref #124
The text was updated successfully, but these errors were encountered: