delete
Deletes a database of the given name in the given directory.
Parameters
name
the database's name
directory
the directory containing the database: the database's parent directory.
Throws
Throws an exception if any error occurs during the operation.