RE: [sqlalchemy] m2m introspection

2013-12-09 Thread Alexey Vihorev
Thanks! Yes, it is documented, and I tried to sift through the URLs before asking, but it's kind of difficult (at least for me) to understand where exactly should I be looking for a particular piece of introspection info. From: sqlalchemy@googlegroups.com [mailto:sqlalchemy@googlegroups.com]

[sqlalchemy] multiple databases?

2013-12-09 Thread Richard Gerd Kuesters
hi all, i don't know if anyone have to go through this, but here's a question: is it possible to use multiple databases sources (like postgres and mysql) in a single application? my best regards, richard. -- You received this message because you are subscribed to the Google Groups

Re: [sqlalchemy] multiple databases?

2013-12-09 Thread Richard Gerd Kuesters
ok, disconsider, i may use mike's session router: http://techspot.zzzeek.org/2012/01/11/django-style-database-routers-in-sqlalchemy/ On 12/09/2013 04:08 PM, Richard Gerd Kuesters wrote: hi all, i don't know if anyone have to go through this, but here's a question: is it possible to use

Re: [sqlalchemy] multiple databases?

2013-12-09 Thread Warwick Prince
Hi Richard There are no problems connecting to multiple database sources in the one application - we do it all the time :-) Cheers Warwick On 10 Dec 2013, at 4:08 am, Richard Gerd Kuesters rich...@humantech.com.br wrote: hi all, i don't know if anyone have to go through this, but here's

Re: [sqlalchemy] Merge(load=False) woes

2013-12-09 Thread Jonathan Rogers
On Wednesday, August 25, 2010 11:02:19 AM UTC-4, Michael Bayer wrote: On Aug 25, 2010, at 10:47 AM, Michael Bayer wrote: On Aug 25, 2010, at 9:37 AM, Nikolaj wrote: Hello, I'm struggling to use the Beaker caching example in my project. Accessing any attribute on an instance

Re: [sqlalchemy] Merge(load=False) woes

2013-12-09 Thread Michael Bayer
On Dec 9, 2013, at 11:20 PM, Jonathan Rogers jonathanrrog...@gmail.com wrote: I want to cache mapped objects from rows which will not change during the process lifetime of a web application, so I used the memory backend. Based on the comment in the example from SQLAlchemy 0.7.9, I have

Re: [sqlalchemy] Merge(load=False) woes

2013-12-09 Thread Jonathan Rogers
Michael Bayer wrote: On Dec 9, 2013, at 11:20 PM, Jonathan Rogers jonathanrrog...@gmail.com mailto:jonathanrrog...@gmail.com wrote: I want to cache mapped objects from rows which will not change during the process lifetime of a web application, so I used the memory backend. Based on the

[sqlalchemy] No operator matches the given name and argument filtering on postgres array

2013-12-09 Thread Matthew Pounsett
I'm trying to work with the postgres ARRAY type and I'm having a hard time figuring out what I'm doing wrong with filtering queries on the array column. Here's some sample code, omitting the session setup: class MyTable(Base):

Re: [sqlalchemy] No operator matches the given name and argument filtering on postgres array

2013-12-09 Thread Michael Bayer
On Dec 10, 2013, at 12:00 AM, Matthew Pounsett matt.pouns...@gmail.com wrote: I'm trying to work with the postgres ARRAY type and I'm having a hard time figuring out what I'm doing wrong with filtering queries on the array column. Here's some sample code, omitting the session setup: