Hi,

I would like to execute multiple sqlalchemy statements in a single call so 
that all of the inserted rows would get the same time stamp. The same could 
be achieved with transactions, but out of lazyness I prefer not do a 
transactions there.

I would like to do:

query_one = tbl_foo.insert().values(some_values)
query_two = tbl_bar.insert().values(other_values)
list_of_statements = [query_one, query_two]
engine.execute(list_of_statements)

How to do it in SQLAlchemy (if it is possible at all)?

Thanks in advance,
Priidu Kull

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to