Add query getPlayerIdBySite
This commit is contained in:
parent
6648036399
commit
4cc08763fc
|
@ -1587,6 +1587,9 @@ class Sql:
|
||||||
# used in GuiPlayerStats:
|
# used in GuiPlayerStats:
|
||||||
self.query['getPlayerId'] = """SELECT id from Players where name = %s"""
|
self.query['getPlayerId'] = """SELECT id from Players where name = %s"""
|
||||||
|
|
||||||
|
self.query['getPlayerIdBySite'] = """SELECT id from Players where name = %s AND siteId = %s"""
|
||||||
|
|
||||||
|
|
||||||
# used in Filters:
|
# used in Filters:
|
||||||
self.query['getSiteId'] = """SELECT id from Sites where name = %s"""
|
self.query['getSiteId'] = """SELECT id from Sites where name = %s"""
|
||||||
self.query['getGames'] = """SELECT DISTINCT category from Gametypes"""
|
self.query['getGames'] = """SELECT DISTINCT category from Gametypes"""
|
||||||
|
|
Loading…
Reference in New Issue
Block a user