[sqlalchemy] Re: TEXT Column type

2007-08-30 Thread voltron
is this correct? import sqlalchemy.types as types On Aug 30, 10:07 pm, voltron [EMAIL PROTECTED] wrote: Hi all What do I have to import to be able to use the column type TEXT? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[sqlalchemy] Re: TEXT Column type

2007-08-30 Thread jason kirtland
voltron wrote: Hi all What do I have to import to be able to use the column type TEXT? from sqlalchemy import Column, TEXT Column('mytext', TEXT) or use 'String' without a length qualifier: from sqlalchemy import Column, String Column('mytext', String)

[sqlalchemy] Re: TEXT Column type

2007-08-30 Thread voltron
Thanks! On Aug 30, 10:13 pm, jason kirtland [EMAIL PROTECTED] wrote: voltron wrote: Hi all What do I have to import to be able to use the column type TEXT? from sqlalchemy import Column, TEXT Column('mytext', TEXT) or use 'String' without a length qualifier: from sqlalchemy