RawRepresentable
protocol RawRepresentable
-
Returns a value that can be stored in the database.
Declaration
Swift
public var databaseValue: DatabaseValue
-
Returns a value initialized from databaseValue, if possible.
Declaration
Swift
public static func fromDatabaseValue(_ databaseValue: DatabaseValue) -> Self?