Skip to content

Cursor.description returning () instead of None #20

Closed
@fdcastel

Description

@fdcastel

As discussed here.

Working on a new SQLAlchemy dialect I found that firebird-driver does return an empty tuple () instead of None in cursor.description when the cursor has no rows.

  • Is this the correct value in this case? What DBAPI says about?
  • Should it be changed to None? (as every other database driver used by SQLALchemy does); or
  • Should we change SQLAlchemy code to handle both None or ()?

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