Is there a way to specify the way a column represents itself when
converted to string?

For example, I would like to automatically get all columns from
table.c, and iterate over a record printing its fields. However when I
come across a FK field, I would like to instead of printing out the
integer value, query the database and print out the value from the
referenced record.

The key problem is I am getting my columns from table.c, so I don't
know about the class mapper relationships that are defined.

--
Thadeus

-- 
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.

Reply via email to