Closed spl1nes closed 7 months ago
The problem with solving this is that in a many-to-many relationship a relation table is used BUT the relation data is not available in the returned object; meaning after retrieving the object it cannot get assigned to the correct parent object.
Other relation types are easy because either the parent or child object contain the relation info.
Done
In the following example (QA Dashboard).
First a single query is created for questions. However, this triggers various sub-queries for every answer. A better solution would be:
IN (...)
with all the IDs from 1.