CGFloat
extension CGFloat: DatabaseValueConvertible
CGFloat adopts DatabaseValueConvertible
-
Returns a value that can be stored in the database.
Declaration
Swift
public var databaseValue: DatabaseValue { get }
-
Returns a CGFloat initialized from dbValue, if possible.
Declaration
Swift
public static func fromDatabaseValue(_ dbValue: DatabaseValue) -> CGFloat?