3.18 deletedatabase

Deletes a database.

Parameters:

$kiriwrite_dbmodule->deletedatabase(options);

Usage:

$kiriwrite_dbmodule->deletedatabase({ DatabaseName => “database” });

options
Specifies the following options as a hash in any order.

Value Description
DatabaseName Specifies the database to delete.

If the database with the name given does not exist then the error returned should be 'DoesNotExist' in the $error scalar.

If a database error occurs while deleting the database, the error returned should be 'DatabaseError' in the $error scalar and the information about the error placed in the $errorext scalar.

If (when using a file-based database module) the database module can't be deleted because of invalid permissions set then the error returned should be 'InvalidPermissionsSet' in the $error scalar.