mirror of
https://amiok.net/gitea/W1CDN/aprs_tool.git
synced 2025-07-17 17:50:28 +00:00
Snapshot. Get closer to new stations
table.
This commit is contained in:
@ -76,7 +76,7 @@ def unique_stations(conn):
|
||||
:return:
|
||||
"""
|
||||
cur = conn.cursor()
|
||||
cur.execute('SELECT *, MAX(id) FROM frames GROUP BY "from" ORDER BY MAX(id) DESC')
|
||||
cur.execute('SELECT *, MAX(id), COUNT(id) FROM frames GROUP BY "from" ORDER BY MAX(id) DESC')
|
||||
rows = cur.fetchall()
|
||||
return rows
|
||||
|
||||
|
Reference in New Issue
Block a user