Skip to content

disable cursors methods after close() #125

@dvarrazzo

Description

@dvarrazzo

At the moment it's possible to fetch from a closed cursor, but it shouldn't be allowed. From dbapi close() desciption:

The cursor will be unusable from this point forward; an Error (or subclass) exception will be raised if any operation is attempted with the cursor.

See sqlalchemy/sqlalchemy#6842 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions