fix: correct SQL query syntax in SQLiteDatabase class

This commit is contained in:
Soulter
2025-12-04 12:50:53 +08:00
parent efde994907
commit 205024f27a

View File

@@ -105,8 +105,8 @@ class SQLiteDatabase(BaseDatabase):
text("""
SELECT * FROM platform_stats
WHERE timestamp >= :start_time
ORDER BY timestamp DESC
GROUP BY platform_id
ORDER BY timestamp DESC
"""),
{"start_time": start_time},
)