delete

expect fun delete(name: String, directory: String? = null)(source)

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.

actual fun delete(name: String, directory: String?)(source)
actual fun delete(name: String, directory: String?)(source)