[storm] Dynamically changing OR mapping question with aliases

Jamu Kakar jamshed.kakar at canonical.com
Mon Aug 13 15:59:00 BST 2007


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