Filter

public class Filter<K, V> where K : Reflectable, K : Comparable, K : Decodable, K : Encodable, K : Hashable, K : Identifiable, V : Reflectable, V : ReflectionDecodable, V : Comparable, V : CustomStringConvertible, V : Decodable, V : Encodable

represents a filter that takes a generic RESTElement and Filterable element to perform the operations: greater equal, less equal and exists, with the possibility to have more than one filter operation

  • specifies the filter operation with the possible options of less equal (.lte), greater equal (.gte) and equal (.exists)

    See more

    Declaration

    Swift

    public enum Operation<K, V>
  • init to initialize a Filter with the Operations that define the FilterStrategy

    Declaration

    Swift

    public init(operations: [Operation<K, V>])