Add a unit to column

4 views
Skip to first unread message

Charlie de Zhoushan

unread,
Jun 11, 2010, 7:54:53 PM6/11/10
to sqlalchemy
Hi all,

Is there a way to add unit for a column for SqlAlchemy table?
like:

height = sa.Column(sa.Integer, unit='meter')

Thanks!

Charlie

Michael Bayer

unread,
Jun 12, 2010, 7:59:00 PM6/12/10
to sqlal...@googlegroups.com
I've never heard of "unit", what database backend is this and can you illustrate a sample of the DDL you'd like to see produced ?

> --
> You received this message because you are subscribed to the Google Groups "sqlalchemy" group.
> To post to this group, send email to sqlal...@googlegroups.com.
> To unsubscribe from this group, send email to sqlalchemy+...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.
>

Reply all
Reply to author
Forward
0 new messages