Enumerations
The following enumerations are available globally.
- 
                  
                  
A kind of database event. See the TransactionObserver protocol for more information.
See moreDeclaration
Swift
public enum DatabaseEventKind 
- 
                  
                  
DatabaseDateEncodingStrategy specifies how EncodableRecord types that also adopt the standard Encodable protocol encode their date properties.
For example:
See morestruct Player: EncodableRecord, Encodable { static let databaseDateEncodingStrategy: DatabaseDateEncodingStrategy = .timeIntervalSince1970 var name: String var registrationDate: Date // encoded as an epoch timestamp }Declaration
Swift
public enum DatabaseDateEncodingStrategy 
- 
                  
                  
DatabaseUUIDEncodingStrategy specifies how EncodableRecord types that also adopt the standard Encodable protocol encode their UUID properties.
For example:
See morestruct Player: EncodableProtocol, Encodable { static let databaseUUIDEncodingStrategy: DatabaseUUIDEncodingStrategy = .string // encoded in a string like "E621E1F8-C36C-495A-93FC-0C247A3E6E5F" var uuid: UUID }Declaration
Swift
public enum DatabaseUUIDEncodingStrategy 
- 
                  
                  
DatabaseDateDecodingStrategy specifies how FetchableRecord types that also adopt the standard Decodable protocol decode their date properties.
For example:
See morestruct Player: FetchableRecord, Decodable { static let databaseDateDecodingStrategy: DatabaseDateDecodingStrategy = .timeIntervalSince1970 var name: String var registrationDate: Date // decoded from epoch timestamp }Declaration
Swift
public enum DatabaseDateDecodingStrategy 
- 
                  
                  
A record change, given by a FetchedRecordsController to its change callback.
The move and update events hold a changes dictionary, whose keys are column names, and values the old values that have been changed.
See moreDeclaration
Swift
public enum FetchedRecordChangeextension FetchedRecordChange: CustomStringConvertible - 
                  
                  
An error thrown by a type that adopts PersistableRecord.
See moreDeclaration
Swift
public enum PersistenceError : Error, CustomStringConvertible 
View on GitHub
Install in Dash
        Enumerations  Reference