sqlalchemy-citext icon indicating copy to clipboard operation
sqlalchemy-citext copied to clipboard

column.type is NullType

Open vad opened this issue 11 years ago • 1 comments

If i ask the type of a CIText() column, i get NullType. From the NullType docstring:

    NullTypes will stand in if :class:`~sqlalchemy.Table` reflection
    encounters a column data type unknown to SQLAlchemy.  The
    resulting columns are nearly fully usable: the DB-API adapter will
    handle all translation to and from the database data type.

Versions:

SQLAlchemy==0.8.1
sqlalchemy-citext==1.0-2

vad avatar May 29 '13 13:05 vad

Hey @vad,

This is weird, might be due to the sqlalchemy upgrade to 0.8.1. I'll take a look when I get a chance.

mahmoudimus avatar May 30 '13 21:05 mahmoudimus