I'd like to make use of db._dbname in my application. I have a utility function 
that creates indexes on some of my tables, and it needs to distinguish between 
the production database (mysql) and the development database (sqlite). I've 
been remembering it separately, but I'm moving a collection of functions to a 
module, and I'd prefer to just pass in db, or as little as possible.

I'm not actually all that worried about _dbname going away, but it seems like 
it'd be a useful piece of information to have in a more public/documented form.

-- 

--- 
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.


Reply via email to