Hello,

Using ORM, i'm inserting like that:

session.add(table_mapper(**datum))

And updating:

session.query(dest_table).filter_by(**filters).filter(filter_column > 
from_date).update(datum, synchronize_session=False)


Is there a way to get returning rowid of the rows affected.

I want to keep them to be used in further updates (it's really faster if 
you use rowid in UPDATE WHERE clause)

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/cc45324e-e194-4030-b9f7-a48a36c19747%40googlegroups.com.

Reply via email to