liberapay/postgres.py

connection should have a get_cursor on it

chadwhitacre opened this issue · 0 comments

I want to do:

with db.get_connection() as connection:
    with connection.get_cursor() as cursor:
        foo