fix: Typo in join column name
This commit is contained in:
@@ -165,7 +165,7 @@ class ActiveSubathon:
|
||||
)
|
||||
.join(
|
||||
"subscribe_events",
|
||||
using=("eventid",),
|
||||
using=("event_id",),
|
||||
join_type=JOINTYPE.INNER,
|
||||
)
|
||||
.select(total=f"SUM({pointcol})")
|
||||
@@ -180,7 +180,7 @@ class ActiveSubathon:
|
||||
)
|
||||
.join(
|
||||
"subscribe_message_events",
|
||||
using=("eventid",),
|
||||
using=("event_id",),
|
||||
join_type=JOINTYPE.INNER,
|
||||
)
|
||||
.select(total=f"SUM({pointcol})")
|
||||
@@ -195,7 +195,7 @@ class ActiveSubathon:
|
||||
)
|
||||
.join(
|
||||
"subscribe_gift_events",
|
||||
using=("eventid",),
|
||||
using=("event_id",),
|
||||
join_type=JOINTYPE.INNER,
|
||||
)
|
||||
.select(total=f"SUM(gifted_count * ({pointcol}))")
|
||||
@@ -217,7 +217,7 @@ class ActiveSubathon:
|
||||
)
|
||||
.join(
|
||||
"bits_events",
|
||||
using=("eventid",),
|
||||
using=("event_id",),
|
||||
join_type=JOINTYPE.INNER,
|
||||
)
|
||||
.select(total="SUM(bits)")
|
||||
|
||||
Reference in New Issue
Block a user