This manual page describes the specific details of the DbEnv class. The DbEnv class provides simple access to an underlying data structure, whose elements can be examined or changed using the set_ or get_ methods. The manual pages sometimes refer to these accesses using the underlying name, e.g., simply lorder instead of get_lorder and set_lorder.
The constructors set all elements of the underlying structure to zero. The constructor with three arguments has the effect of calling DbEnv.appinit immediately to initialize the application with default parameters. To delay the initialization, use the default constructor. The various set_ methods can then be used to initialize the DbEnv, and finally, a call to DbEnv.appinit should be made to initialize Berkeley DB.
Once the Berkeley DB environment has been initialized by a call to DbEnv.appinit no set methods other than DbEnv.set_errpfx should be called.