Do not generate unnecessary db queries #969
Labels
kind/improvement
An improvement to existing feature and code.
tech/engines/query engine
Issue in the Query Engine
tech/engines
Issue for tech Engines.
Milestone
I stumbled over cases where we do requests for related nodes even though we did not find a parent node.
Since I created no nodes, only the top level should be queried from the db. But the following SQL statements are sent:
The last two are unnecessary. Hint from @dom the place to catch that would be in nested read if joined_projections are empty.
The text was updated successfully, but these errors were encountered: