hm, pardon me, not sure what do you want to achieve. is it something like this? e.g. ## Use SQLite db0 = DAL('sqlite://testmultipledb.sqlite')
## Use MySQL db1 = DAL('mysql://root:@localhost/testmultipledb') ## Use PostgreSQL db2 = DAL('postgres://postgres:a@localhost/testmultipledb') db0.define_table('person', Field('name'), format='%(name)s') db1.define_table('person', Field('name'), format='%(name)s') db2.define_table('person', Field('name'), format='%(name)s') db0.person.insert(name="Alex") db1.person.insert(name="BAlex") db2.person.insert(name="CAlex") row0 = db0().select(db0.person.ALL).first() row1 = db1().select(db1.person.ALL).first() row2 = db2().select(db2.person.ALL).first() best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.