Fix Select.join not using kw args

This commit is contained in:
justcool393 2023-08-09 03:26:48 -05:00
parent f01a2ec96c
commit e9afa22bc7

View file

@ -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(