On Jan 30, 1:07 am, "Kumar McMillan" <[EMAIL PROTECTED]> wrote:
>
> I can't seem to figure out how to do something like
> table.insert().execute() inside a transaction.

with straight engine transactions:

http://www.sqlalchemy.org/docs/dbengine.myt#dbengine_transactions

I already have code
> that starts with self.session.create_transaction() and then does all
> the inserts/deletes effectively with mappers but this doesn't seem to
> work the same for table clauses.

with ORM transactions:

http://www.sqlalchemy.org/docs/unitofwork.myt#unitofwork_transaction_sql



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to