Eager loading queries associations without results

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • 3.0.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      I noticed that eager loading does unnecessary queries if the initial query has no results. The associations should only be queried if there are foreign keys from the initial query result.

            Assignee:
            Unassigned
            Reporter:
            Fredrik Björk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: