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
filterDeclaration
Swift
public static let equal: MoltinFilterOperator
-
Represents an
equals
filterDeclaration
Swift
public static let like: MoltinFilterOperator
-
Represents a
greater than
filterDeclaration
Swift
public static let greaterThan: MoltinFilterOperator
-
Represents a
greater than or equal to
filterDeclaration
Swift
public static let greaterThanOrEqual: MoltinFilterOperator
-
Represents a
less than
filterDeclaration
Swift
public static let lessThan: MoltinFilterOperator
-
Represents a
less than or equal to
filterDeclaration
Swift
public static let lessThanOrEqual: MoltinFilterOperator
-
Declaration
Swift
public init(rawValue: String)