ColumnType
An SQL column type.
try db.create(table: "player") { t in
t.autoIncrementedPrimaryKey("id")
t.column("title", .text)
}
-
Creates an SQL column type.
-
The
TEXT
SQL column type -
The
INTEGER
SQL column type -
The
DOUBLE
SQL column type -
The
REAL
SQL column type -
The
NUMERIC
SQL column type -
The
BOOLEAN
SQL column type -
The
BLOB
SQL column type -
The
DATE
SQL column type -
The
DATETIME
SQL column type -
The
ANY
SQL column type