DatabaseConfiguration
public class DatabaseConfiguration
Configuration for opening a database.
-
Path to the directory to store the database in.
Declaration
Swift
public var directory: String { get set }
-
The key to encrypt the database with.
Declaration
Swift
public var encryptionKey: EncryptionKey? { get set }
-
Initializes a DatabaseConfiguration’s builder with default values.
Declaration
Swift
public convenience init()
-
Initializes a DatabaseConfiguration’s builder with the configuration object.
Declaration
Swift
public convenience init(config: DatabaseConfiguration?)