implement map overview

This commit is contained in:
Yannik Schmidt
2020-10-14 00:25:40 +02:00
parent 868346ad90
commit c3bb6f0e04
6 changed files with 128 additions and 0 deletions

View File

@@ -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''')