This commit is contained in:
PaulVua
2025-02-05 16:54:59 +01:00
parent 49be391eb3
commit 46303b9c19
9 changed files with 460 additions and 67 deletions

View File

@@ -20,6 +20,8 @@ cursor = conn.cursor()
cursor.execute("SELECT * FROM data ORDER BY timestamp DESC LIMIT 10")
rows = cursor.fetchall()
rows.reverse() # Reverse the order in Python (to get ascending order)
# Display the results
for row in rows: