[sqlalchemy] Running a trigger with sqlalchemy that works with session.execute

2013-05-06 Thread Amit Sethi
Anyone who can help out with sqlalchemy related problem I have a app which using sqlalchemy as the orm. As the app is one in transition some of the update query's run through a session.execute . However I need to create a trigger of some kind . I am trying to use MapperExtensions but it seems

[sqlalchemy] clearing mapper for a single table

2011-08-30 Thread Amit Sethi
Hi all , I am a sqlalchemy noom , I am using sqlalchemy on top of a php app(mysql) that actually decides to create a new table in certain situations . So in one of the queries I have to create and load a table dynamically. I am doing this in this fashion. class Z_Current(object): pass