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 (
See more.lte), greater equal (.gte) and equal (.exists)Declaration
Swift
public enum Operation<K, V> -
initto initialize aFilterwith theOperationsthat define theFilterStrategyDeclaration
Swift
public init(operations: [Operation<K, V>])
View on GitHub
Filter Class Reference