try this: user.__table__.c.keys() should work
Kos Rafal On 14 Sty, 11:39, laurent FRANCOIS <lau.franc...@worldonline.fr> wrote: > Hello everybody.... > > Let's say I have a > > table_user= Table('user', blablabla...) > class User(object): pass > mapper(User, table-user) > > Let's say I have an ORM object: user = User(name='FOO') > With that user I would like to get all the attribut columns like > with table_user.c.keys(). > > Must be easy no? > > Thanks > > Laurent FRANCOIS
-- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@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.