* Added 'cacheSessions' flag
* Added a cacheSessions update call to import_file_dict() in fpdb_import.py * Added updateSessionsCache() method to Hands * Added storeSessionsCache() to Database --- WORK IN PROGRESS and set to pass TO DOs - add sessions queries to SQL - complete storeSessionsCache() so it works like we've discussed (save for adding sessionId to HP) - add SessionsCache keys - add SessionsCache to the default table creation and deletion methods in Database.py - update storeSessionsCache() and all the relevant db & sql code so it writes a sessionId to HP
This commit is contained in:
@@ -278,6 +278,9 @@ db: a connected Database object"""
|
||||
|
||||
def updateHudCache(self, db):
|
||||
db.storeHudCache(self.dbid_gt, self.dbid_pids, self.startTime, self.stats.getHandsPlayers())
|
||||
|
||||
def updateSessionsCache(self, db):
|
||||
db.storeSessionsCache(self.dbid_pids, self.startTime, self.stats.getHandsPlayers())
|
||||
|
||||
def select(self, handId):
|
||||
""" Function to create Hand object from database """
|
||||
|
||||
Reference in New Issue
Block a user