Last active
September 18, 2019 13:43
-
-
Save kristoff-it/31ba2144b024299993d58ac9dfef65a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async def add_new_win(pool, winner): | |
await pool.zincrby('wins_counter', 1, winner) | |
await pool.incr('total_games_played') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment