ColumnType
public struct ColumnType : RawRepresentable, HashableAn SQL column type.
try db.create(table: "player") { t in
    t.autoIncrementedPrimaryKey("id")
    t.column("title", .text)
}
- 
                  
                  Undocumented DeclarationSwift public init(_ rawValue: String)
- 
                  
                  The TEXTSQL column typeDeclarationSwift public static let text = ColumnType("TEXT")
- 
                  
                  The INTEGERSQL column typeDeclarationSwift public static let integer = ColumnType("INTEGER")
- 
                  
                  The DOUBLESQL column typeDeclarationSwift public static let double = ColumnType("DOUBLE")
- 
                  
                  The NUMERICSQL column typeDeclarationSwift public static let numeric = ColumnType("NUMERIC")
- 
                  
                  The BOOLEANSQL column typeDeclarationSwift public static let boolean = ColumnType("BOOLEAN")
- 
                  
                  The BLOBSQL column typeDeclarationSwift public static let blob = ColumnType("BLOB")
- 
                  
                  The DATESQL column typeDeclarationSwift public static let date = ColumnType("DATE")
- 
                  
                  The DATETIMESQL column typeDeclarationSwift public static let datetime = ColumnType("DATETIME")
 View on GitHub
View on GitHub Install in Dash
Install in Dash ColumnType Structure Reference
        ColumnType Structure Reference