Skip to content

CursorContextManager should close cursor #18

@chadwhitacre

Description

@chadwhitacre
>>> with db.get_cursor() as cursor:
...   cursor.execute("select * from foo")
... 
>>> cursor
<cursor object at 0x10027d350; closed: 0>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions