Hello fellow Alchemists, I'm wondering if there is a way to have SQLAlchemy execute queries as soon as mapped attributes are modified, instead of aggregating them until a objectstore.commit(). I would still like to contain these queries within a database transaction.
The problem occurs when some attributes are modified on one object, and then a query is performed that does not have access to the new values. I noticed there is an argument to the 'Session' class named 'nest_transactions'. The description leads me to believe it may help with what I want to do although it doesn't appear that it actually does anything. If anybody can show me a way to achieve this, or can perhaps point me towards something I've missed it would be much appreciated. Thanks, James ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users