you're looking for rtn.db . PS: you can as well pass db around, keeps the code explicit e.g. some_fxn(rtn, db)
On Wednesday, May 1, 2013 9:49:54 AM UTC+2, lucas wrote: > > i think i am asking this properly. if i do > > rtn = db(...query stuff...).select() > > and then pass it as a parameter to a function like > > some_fxn(rtn) > > is there a property in this rtn instance to allow me to read and access > the original db instance? i need to run another query in some_fxn off of > db but some_fxn in located in a py file under modules and modules does seem > to have automatic access to db. > > lucas > -- --- 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/groups/opt_out.