DatabaseConfiguration

Configuration for opening a database.

actual class DatabaseConfiguration(config: DatabaseConfiguration?) : DelegatedClass<<Error class: unknown class>> (source)

Constructors

Link copied to clipboard
expect constructor()
expect constructor(config: DatabaseConfiguration?)
actual constructor()
actual constructor(config: DatabaseConfiguration?)
actual constructor()
actual constructor(config: DatabaseConfiguration?)

Properties

Link copied to clipboard
expect var directory: String

The path to the directory that contains the database. If this path has not been set explicitly (see: setDirectory below), then it is the system default.

actual var directory: String
actual var directory: String

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Create a DatabaseConfiguration, overriding the receiver's values with the passed parameters:

Link copied to clipboard
expect fun setDirectory(directory: String): DatabaseConfiguration

Set the canonical path of the directory to store the database in. If the directory doesn't already exist it will be created. If it cannot be created throw an IllegalStateException

actual fun setDirectory(directory: String): DatabaseConfiguration
actual fun setDirectory(directory: String): DatabaseConfiguration
Link copied to clipboard
open override fun toString(): String