Hi,
For my wxPython based application I like to get at things like the
column length to e.g. limit the UI entry to a certain data length.
I came up with:
dbProName = db.sa.inspect(db.Profilec.name)
print(dbProName.property.columns[0].type.length)
1. Is there a more direct way to get at the column length
2. when would 'property.columns' contain more then one element
Thanks
Werner
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.