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
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)
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