When querying aross a many to many field if the target is the primary key only join to the intermediary table
|Reported by:||Alex Gaynor||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 8 years ago by
|Patch needs improvement:||unset|
|Status:||new → closed|