Db::get_env()
Prev | Chapter 5. The DbEnv Handle | Next

## Db::get_env()

    #include <db_cxx.h>

    DbEnv *
    Db::get_env();

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.

### Class

Db

### See Also

Database and Related Methods

Prev | Up | Next
Chapter 5. The DbEnv Handle | Home | DbEnv::add_data_dir()