むりやりなあざーじょいんたいぷ
class QJoin(Q): def get_sql(self, opts): joins, where, params = super(QJoin,self).get_sql(opts) for join in joins: (table, join_type, condition) = joins[join] joins[join] = (table, "LEFT OUTER JOIN", condition) return joins, where, params
泥臭いぜ、yaha-!
一応動くけどね _0_
パラメータで好きなjoin_typeを渡せるようにするのが吉ですかも。
もっと良いやり方ご存じの方、おられましたら是非。(他力本願)