DB->get_env()
#include <db.h>
DB_ENV *
DB->get_env(DB *db); The DB->get_env() method returns the handle for the database environment underlying the database.
The DB->get_env() method may be called at any time during the life of the application.