close_all_db_envs

Function Details

 void close_all_db_envs()
 

Close all open database environment handles regardless of reference count.

You can't use the container after you called close_db and before setting another valid database handle to the container via db_container::set_db_handle() function.

Group: Functions to close database/environments.

Normally you don't have to close any database or environment handles, they will be closed automatically.

Though you still have the following API to close them.

Class

dbstl_global_functions