ValidateOnOpenMode
public enum ValidateOnOpenMode : UInt16
Defines if and how the database is checked for structural consistency when opening it.
-
Undocumented
Declaration
Swift
public typealias T = UInt16 -
Undocumented
Declaration
Swift
public static var byteSize: Int { get } -
Undocumented
Declaration
Swift
public var value: UInt16 { get } -
Not a real type, just best practice (e.g. forward compatibility)
Declaration
Swift
case unknown = 0 -
No additional checks are performed. This is fine if your file system is reliable (which it typically should be).
Declaration
Swift
case none_ = 1 -
Performs a limited number of checks on the most important database structures (e.g. “branch pages”).
Declaration
Swift
case regular = 2 -
Performs a limited number of checks on database structures including “data leaves”.
Declaration
Swift
case withleaves = 3 -
Performs a unlimited number of checks on the most important database structures (e.g. “branch pages”).
Declaration
Swift
case allbranches = 4 -
Performs a unlimited number of checks on database structures including “data leaves”.
Declaration
Swift
case full = 5 -
Undocumented
Declaration
Swift
public static var max: ValidateOnOpenMode { get } -
Undocumented
Declaration
Swift
public static var min: ValidateOnOpenMode { get }
View on GitHub
Install in Dash
ValidateOnOpenMode Enumeration Reference