DatabaseConfiguration

public class DatabaseConfiguration

Configuration for opening a database.

  • Path to the directory to store the database in.

    Declaration

    Swift

    public var directory: String = CBLDatabaseConfiguration().directory
  • The key to encrypt the database with.

    Declaration

    Swift

    public var encryptionKey: EncryptionKey?
  • 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?)