AttributeRelativeType

public struct AttributeRelativeType : RawRepresentable
extension AttributeRelativeType: AttributeType

Represent the attribute type for a relation.

  • Undocumented

    Declaration

    Swift

    public static let suffix: String
  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public var rawValue: String
  • Table destination of relation

    Declaration

    Swift

    public var relationTable: String { get }
  • Is it a to many relation shipt.

    Declaration

    Swift

    public var isToMany: Bool
  • Optionnal information to know which field we want to expand for this relation.

    Declaration

    Swift

    public var expand: String?
  • Undocumented

    Declaration

    Swift

    public var filter: String?
  • Declaration

    Swift

    public init(rawValue: RawValue)

Relative

  • Declaration

    Swift

    public var isStorage: Bool { get }
  • Declaration

    Swift

    public var isRelative: Bool { get }