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 query is ok, data is ok, BUT. This generates an awful amount of queries. I would expect 5 at most (1 count, 1 data fetch, 3 for eagers).
And no, I don't want to join more table in one query, because that's awfully unefective and makes me transfer too much data repeatedly (order every orderItem and again for every addition).
It seems to be working partially. It fetches all OrderItemAddition in one query, but not those joined to them (Addition entity).
I believe this should generate one query for every entity type as I specified, not one for each row.
I also believe, you've already had talk with author of NotORM (now you probably know exactly where this is heading).
The text was updated successfully, but these errors were encountered:
Jira issue originally created by user hosiplan:
Let's have theese entities
Now let's have a query
The query is ok, data is ok, BUT. This generates an awful amount of queries. I would expect 5 at most (1 count, 1 data fetch, 3 for eagers).
And no, I don't want to join more table in one query, because that's awfully unefective and makes me transfer too much data repeatedly (order every orderItem and again for every addition).
It seems to be working partially. It fetches all OrderItemAddition in one query, but not those joined to them (Addition entity).
I believe this should generate one query for every entity type as I specified, not one for each row.
I also believe, you've already had talk with author of NotORM (now you probably know exactly where this is heading).
The text was updated successfully, but these errors were encountered: