Hello,

     I'm trying to get the name of the columns of my tables, writing

columnDb = self.table.__table__.columns._all_cols

self.labels = [col.name for col in columnDb]

ColumnDb is a Set Type... and it usually returns all the columns in
the same order defined in the table...but not always. Is not possible
to force the order always in the same way for all the tables?

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

Reply via email to