Database
Construct a Database with a given name and the default config. If the database does not yet exist it will be created.
Parameters
name
The name of the database: May NOT contain capital letters!
Throws
if any error occurs during the open operation.
Construct a Database with a given name and database config. If the database does not yet exist, it will be created, unless the readOnly
option is used.
Parameters
name
The name of the database: May NOT contain capital letters!
config
The database config.
Throws
Throws an exception if any error occurs during the open operation.