Closed lwerdna closed 12 years ago
what may be useful now is to have like a "dbwrap" module where the main app can be completely unaware of sqlite and just use like:
dbwrap.getRating() dbwrap.getRD() dbwrap.updateRating(, ) dbwrap.updateRD(, ) dbwrap.recordGame(time, aw, aw_rating, ab, ab_rating, bw, bw_rating, bb, bb_rating)
and then whatever other subs make sense for like a records gui to call
I'll take this one.
merged thompGIT's junk in
https://github.com/lwerdna/bugtrack/commit/251c7cdb692960b61bcc88ed5a0c2f1d56948790
what may be useful now is to have like a "dbwrap" module where the main app can be completely unaware of sqlite and just use like:
dbwrap.getRating()
dbwrap.getRD()
dbwrap.updateRating(, )
dbwrap.updateRD(, )
dbwrap.recordGame(time, aw, aw_rating, ab, ab_rating, bw, bw_rating, bb, bb_rating)
and then whatever other subs make sense for like a records gui to call