Float
extension Float: DatabaseValueConvertible, StatementColumnConvertible
Float adopts DatabaseValueConvertible and StatementColumnConvertible.
-
Returns a value initialized from a raw SQLite statement pointer.
Declaration
Swift
@inlinable public init(sqliteStatement: SQLiteStatement, index: Int32)
Parameters
sqliteStatement
A pointer to an SQLite statement.
index
The column index.
-
Returns a value that can be stored in the database.
Declaration
Swift
public var databaseValue: DatabaseValue { get }
-
Returns a Float initialized from dbValue, if possible.
Declaration
Swift
public static func fromDatabaseValue(_ dbValue: DatabaseValue) -> Float?