When querying aross a many to many field if the target is the primary key only join to the intermediary table
|Reported by:||Alex||Owned by:|
|Component:||Database layer (models, ORM)||Version:||1.0|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If we are querying across a many to many field and we only want to access the primary key of the related data we can reduce our joins by only going to the intermediary table.
This is being filed against the external aggregation branch.
Change History (5)
comment:1 Changed 6 years ago by russellm
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
- Resolution set to fixed
- Status changed from new to closed