config test
This commit is contained in:
parent
e562190708
commit
05e6552e00
@ -83,10 +83,11 @@ class Stats:
|
|||||||
|
|
||||||
def parse(self):
|
def parse(self):
|
||||||
tot_part_start = tot_part_end = 0
|
tot_part_start = tot_part_end = 0
|
||||||
res = self.db.dbQuery(f"""SELECT value_field FROM {dbName} WHERE timestamp = {self.startDate} AND key_field = 'total_participants' ORDER by id""")
|
res = self.db.dbQuery(f"""SELECT value_field FROM {dbName} WHERE timestamp = {self.startDate} AND key_field = 'total_participants'""")
|
||||||
print(res)
|
print(res)
|
||||||
res = self.db.dbQuery(f"""SELECT value_field FROM {dbName} WHERE timestamp < {self.endDate} AND key_field = 'total_participants' ORDER by id""")
|
res = self.db.dbQuery(f"""SELECT value_field FROM {dbName} WHERE timestamp < {self.endDate} AND key_field = 'total_participants'""")
|
||||||
print(res)
|
print(res)
|
||||||
|
|
||||||
res = self.db.dbQuery(f"""SELECT * FROM {dbName} WHERE timestamp > {self.startDate} AND timestamp < {self.endDate} ORDER by id""")
|
res = self.db.dbQuery(f"""SELECT * FROM {dbName} WHERE timestamp > {self.startDate} AND timestamp < {self.endDate} ORDER by id""")
|
||||||
consolided = {}
|
consolided = {}
|
||||||
moy_conf_by_day = 0
|
moy_conf_by_day = 0
|
||||||
|
Loading…
Reference in New Issue
Block a user