|
count = self.search(columns=["COUNT(ID)"], table="Word", where=f"box<={box}")[0][0]
|
|
count = self.search(columns=["COUNT(ID)"], table="Word", where=f"box<={box}")[0][0]
|
|
get = self.search(columns=["word"], table="Word", where=f"box<={box}", limit=1, offset=random.randint(0, count - 1))[0][0]
|
|
get = self.search(columns=["word"], table="Word", where=f"box<={box}", limit=1, offset=random.randint(0, count - 1))[0][0]
|