Sanjay ha scritto: > Need help on how to do it. Being a turbogears application where db > entities like metadata and session are imported rather than created by > me, I am confused and could not successfully implement the pattern > provided in the docs. >
I'm sure there are cleaner ways, but this worked for me conn = session.context.get_current().connection(SomeMappedClass) conn.execute(...) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---