On 10/23/2016 10:20 AM, Mike Bayer wrote:


On 10/23/2016 06:56 AM, Nikola Radovanovic wrote:
Hi,
thank you for the quick reply; I will check this solution. As for number
of clients - clients are actually  companies, so number can be maybe few
dozens, or hundred - does this change anything?

one thing to note is I just checked that recipe for how to use
schema_translate_map with orm.Session and I'm not sure it works exactly
that way at the moment, apparently there aren't tests to ensure the ORM
integration will work that way and I might have to make some changes.
There is a way to use it w/ the ORM as in that example but I'd need to
give you a recipe for that.

ah nevermind, I misread the example, it will work as written if you decide to use it. What I don't think it can do yet is to *change* the map on a per-query basis, e.g. the map is set up for the transaction as a whole.

--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to