To amplify/clarify, what I was hoping I'd find was something like the following behavior:
m = class_mapper(cls) t = m.local_table >>> t.mapper is m True >>> t.mapper.class_ is cls True ...But the table doesn't have that method "mapper" on it. I suppose that's because a table can be mapped more than once, so how should it know which mapper to report when asked? But then, we could have "t.mappers" evaluate to a list of mappers. This sounds so common that I fear I'm just experiencing a blind spot as I dig through the docs. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to [email protected] 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 -~----------~----~----~----~------~----~------~--~---
