mirror of
https://github.com/FAUSheppy/open-web-leaderboard.git
synced 2025-12-09 08:28:32 +01:00
implement map overview
This commit is contained in:
@@ -168,4 +168,8 @@ class DatabaseConnection:
|
||||
return None
|
||||
return Round.Round(row)
|
||||
|
||||
def distinctMaps(self):
|
||||
'''Get all distinct maps from rounds database'''
|
||||
cursorRounds = self.connRounds.cursor()
|
||||
return cursorRounds.execute('''SELECT DISTINCT map from rounds''')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user