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
I searched and experimented for hours before discovering the "nested column syntax" for including a where clause from a nested/joined table. It was hard to find because it's in the section about eager loading (which is not at all related to what I was trying to do - I don't even need the related data returned, I just needed to filter by it).
I admit this was partly due to my laziness (AKA lack of interest in reading through pages of docs that were not related to what I needed to know), because I did find the "Eager Loading" page fairly early on, but backed out of it as most of it seemed to be focused on how to include or not include data from the associated models (i.e. eager loading!), and the part I needed (which is not actually strictly related to eager loading) was buried somewhere in the middle.
What was unclear/insufficient/not covered in the documentation
The concepts were covered very well, but not discoverable for me, being nested under "Eager Loading"
If possible: Provide some suggestion on how we can enhance the docs
I have two simple ideas (either of which would improve discoverability IMO):
Rename the "Eager Loading" section "Querying with Associations"
this better encompasses all that is covered in this section, and while that may sound like it's the same thing as "eager loading", eager loading is only one aspect of Querying with associations
Create a new section for "Filtering by associations" that would include just the sections about filtering queries by joined tables.
The text was updated successfully, but these errors were encountered:
Issue Description
I searched and experimented for hours before discovering the "nested column syntax" for including a where clause from a nested/joined table. It was hard to find because it's in the section about eager loading (which is not at all related to what I was trying to do - I don't even need the related data returned, I just needed to filter by it).
I admit this was partly due to my laziness (AKA lack of interest in reading through pages of docs that were not related to what I needed to know), because I did find the "Eager Loading" page fairly early on, but backed out of it as most of it seemed to be focused on how to include or not include data from the associated models (i.e. eager loading!), and the part I needed (which is not actually strictly related to eager loading) was buried somewhere in the middle.
What was unclear/insufficient/not covered in the documentation
The concepts were covered very well, but not discoverable for me, being nested under "Eager Loading"
If possible: Provide some suggestion on how we can enhance the docs
I have two simple ideas (either of which would improve discoverability IMO):
The text was updated successfully, but these errors were encountered: