Library Version 12.1.6.1

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
DbEnv::get_encrypt_flags() | Home | DbEnv::get_errfile()