read
,
providing read-only access or update
, providing read/write
access.
Options is a list of options. Supported options are below.
The boolean options are passed as flags to DB->open()
.
The option name is derived from the flag name by stripping the
DB_
prefix and converting to lower case. Consult the
Berkeley DB documentation for details.
create(true)
, fail if the database already
exists.DB | is unified with a blob of type db .
Database handles are subject to atom garbage collection. |
permission_error(access, bdb_environment, Env)
if an
environment is not thread-enabled and accessed from multiple threads.