class documentation
class JoinPromoter: (source)
A class to abstract away join promotion problems for complex filter conditions.
Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | add |
Add single vote per item to self.votes. Parameter can be any iterable. |
Method | update |
Change join types so that the generated query is as efficient as possible, but still correct. So, change as many joins as possible to INNER, but don't make OUTER joins INNER if that could remove results from the query. |
Instance Variable | connector |
Undocumented |
Instance Variable | effective |
Undocumented |
Instance Variable | negated |
Undocumented |
Instance Variable | num |
Undocumented |
Instance Variable | votes |
Undocumented |