I would question why even use mappers at all for this, since everything that OO and classes have to offer is not being used here; you just want to use dictionaries, which you can get with just result sets and fetchall().
or you might want to try the sqlsoup extension, which has a nice function "class_for_table" that does exactly what your looking for, only in a way that will actually work (i.e. it makes a distinct class instance for each table, complete with a mapper and query set up). cls = sqlsoup.class_for_table(sometable) --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en -~----------~----~----~----~------~----~------~--~---