With the last version, you can do this :

from gluon import current

dba = current.globalenv['db']

Reply via email to