i want to connect to one db first.. do some queries, and then connect
to a different database.. how to do this? this is in web.py.23
this does not work
web.config.db_parameters=dict(dbn='postgres', user='USER', pw='',
db='YYY', host='XXX')
web.load()
web.query('query from db YYY')
web.unload()
web.config.db_parameters=dict(dbn='postgres', user='USER', pw='',
db='ZZZ', host='XXX')
web.load()
web.query('query from db ZZZ') # THIS FAILS, still queries on db YYY
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---