On Sep 20, 2010, at 10:37 AM, Christian Démolis wrote: > Hi, > > Can i use SqlAlchemy in a non transactionnal way ? > How can i do it?
Session() has an autocommit=True flag that will commit every flush() operation immediately and not retain an open transaction during usage. You may very well want to set autoflush=False and call flush() manually with this mode. Note that there are still 'transactions' in use here, as the flush() will always place its multiple operations into a transaction. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this group, send email to sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.