> > - Pass it in when you initialize the class > This is how Auth and Crud work: http://code.google.com/p/web2py/source/browse/gluon/tools.py#898, http://code.google.com/p/web2py/source/browse/gluon/tools.py#3056. Probably the best approach when you need to access db from multiple methods.
Anthony