[storm] Dynamically changing OR mapping question with aliases

akira nhytro-python at web.de
Mon Aug 13 17:28:37 BST 2007


That helps Jamu, I just wanted to know if I there was a way to do that 
fron Storm directly.

Thanks!

Jamu Kakar wrote:
> Hi Akira,
>
> akira wrote:
> > Ok, one thing still goes unanswered, if I cant set the search path
> > dynamically in a Pylons controller, it is then not a solution. I would
> > not also want to be making calls to Psycopg to change the 
> search_path, I
> > would then be making my code PostgreSQL.
>
> Storm doesn't provide an API to manipulate these kinds of details;
> you'll need to run the query directly:
>
> store.execute("SET search_path = de,public")
>
> Hope this helps,
> J.
>




More information about the storm mailing list