Fix Select.join
not using kw args
This commit is contained in:
parent
f01a2ec96c
commit
e9afa22bc7
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ def bulk_recompute_descendant_counts(predicate = None, db=None):
|
||||||
.join(
|
.join(
|
||||||
child_comments,
|
child_comments,
|
||||||
parent_comments.corresponding_column(Comment.id) == child_comments.corresponding_column(Comment.parent_comment_id),
|
parent_comments.corresponding_column(Comment.id) == child_comments.corresponding_column(Comment.parent_comment_id),
|
||||||
True
|
isouter=True
|
||||||
)
|
)
|
||||||
.group_by(parent_comments.corresponding_column(Comment.id))
|
.group_by(parent_comments.corresponding_column(Comment.id))
|
||||||
.with_only_columns(
|
.with_only_columns(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue