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