spherulitic / xerafin3

Xerafin Word Study System
1 stars 0 forks source link

Improve findUser() method in Rankings class #100

Open spherulitic opened 1 year ago

spherulitic commented 1 year ago

In the stats service, Rankings class, findUser() queries for all today's leaderboard and queries to find the rank of the requesting user. There has to be a way to do this search in SQL, rather than getting a bunch of extraneous data out of MySQL and searching in Python.