UInt16
extension UInt16: DatabaseValueConvertible, StatementColumnConvertible
UInt16 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
sqliteStatementA pointer to an SQLite statement.
indexThe column index.
-
Returns a value that can be stored in the database.
Declaration
Swift
public var databaseValue: DatabaseValue { get } -
Returns an UInt16 initialized from dbValue, if possible.
Declaration
Swift
public static func fromDatabaseValue(_ dbValue: DatabaseValue) -> UInt16? -
Declaration
Swift
public func bind(to sqliteStatement: SQLiteStatement, at index: CInt) -> CInt
View on GitHub
Install in Dash
UInt16 Extension Reference