Column

public struct Column : ExpressibleByStringLiteral, Hashable

Undocumented

  • Undocumented

    Declaration

    Swift

    public let name: String
  • Undocumented

    Declaration

    Swift

    public let referenceColumn: String
  • Undocumented

    Declaration

    Swift

    public let isUnique: Bool
  • Undocumented

    Declaration

    Swift

    public let isNullable: Bool
  • Undocumented

    Declaration

    Swift

    public init(
        name: String,
        referenceColumn: String = Configuration.namingStrategy.referenceColumn,
        isUnique: Bool = false,
        isNullable: Bool = true
    )
  • Declaration

    Swift

    public init(stringLiteral name: StringLiteralType)
  • Declaration

    Swift

    public static func == (lhs: `Self`, rhs: `Self`) -> Bool
  • Declaration

    Swift

    public func hash(into hasher: inout Hasher)