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