Column
public struct Column : ColumnExpression, Equatable
A column in a database table.
When you need to introduce your own column type, don’t wrap a Column. Instead, adopt the ColumnExpression protocol.
-
The hidden rowID column
Declaration
Swift
public static let rowID: Column
-
The name of the column
Declaration
Swift
public var name: String
-
Creates a column given its name.
Declaration
Swift
public init(_ name: String)
-
Creates a column given a CodingKey.
Declaration
Swift
public init(_ codingKey: CodingKey)
-
Declaration
Swift
@_disfavoredOverload public static func == (lhs: Column, rhs: Column) -> Bool