This commit is contained in:
Your Name
2025-03-20 17:45:47 +01:00
parent 4d15076d4b
commit d5302f78ba
11 changed files with 313 additions and 55 deletions

View File

@@ -36,7 +36,6 @@ cursor = conn.cursor()
#cursor.execute("SELECT * FROM timestamp_table")
if table_name == "timestamp_table":
cursor.execute("SELECT * FROM timestamp_table")
else:
query = f"SELECT * FROM {table_name} ORDER BY timestamp DESC LIMIT ?"
cursor.execute(query, (limit_num,))