From: Olo <jol...@o2...> - 2005-12-30 21:26:39
|
Hello I have a simply problem with select and table name. I use Inheritance and I don't know how can I get table name. For example: class Person(SQLObject): name = StringCol() age = FloatCol() class Role(InheritableSQLObject): department = StringCol() And personList = list(Person.select()) <Role 1 ........ > <Role 2 ........ > And I don't how can I get something like that: for p in personList: print p."!tableName!" ???? Is it posible?? Thanks |