Name

duro::env - manipulate Duro database environments

Synopsis

duro::env option arg

Description

duro::env open [-recover] name

Opens the database environment identified by the directory name and returns an environment identifier for that environment.

The following switch is supported:

-recover
Run recovery when opening the environment.
duro::env create name

Creates the database environment identified by the directory name and returns an environment identifier for that environment.

duro::env close envId

Closes the environment specified by envId.

duro::env dbs envId

Returns a list of all databases in the environment specified by envId.

duro::env seterrfile envId fileName

Configures the underlying storage engine (Berkeley DB) to write additional error information to fileName.