Int8
extension Int8: DatabaseValueConvertible, StatementColumnConvertible
Int8 adopts DatabaseValueConvertible and StatementColumnConvertible.
-
Returns a value initialized from a raw SQLite statement pointer.
Declaration
Swift
@inline(__always) @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 an Int8 initialized from dbValue, if possible.
Declaration
Swift
public static func fromDatabaseValue(_ dbValue: DatabaseValue) -> Int8?
-
Declaration
Swift
public func bind(to sqliteStatement: SQLiteStatement, at index: CInt) -> CInt