MoltinFilterOperator

public struct MoltinFilterOperator : RawRepresentable, Equatable

MoltinFilterOperator represents various operations that can be applied to MoltinRequest.filter(...) These parameters allow a user to filter resources.

  • Declaration

    Swift

    public typealias RawValue = String
  • Declaration

    Swift

    public var rawValue: String
  • Represents an equals filter

    Declaration

    Swift

    public static let equal: MoltinFilterOperator
  • Represents an equals filter

    Declaration

    Swift

    public static let like: MoltinFilterOperator
  • Represents a greater than filter

    Declaration

    Swift

    public static let greaterThan: MoltinFilterOperator
  • Represents a greater than or equal to filter

    Declaration

    Swift

    public static let greaterThanOrEqual: MoltinFilterOperator
  • Represents a less than filter

    Declaration

    Swift

    public static let lessThan: MoltinFilterOperator
  • Represents a less than or equal to filter

    Declaration

    Swift

    public static let lessThanOrEqual: MoltinFilterOperator
  • Declaration

    Swift

    public init(rawValue: String)