Query

public class Query : ResourceQuery, EntryQuery

A concrete implementation of ChainableQuery which can be used to make queries on /entries/ or /entries. All methods from ChainableQuery are available.

  • any

    Undocumented

    Declaration

    Swift

    public static var any: Query { get }
  • Property-value query operations used for matching patterns on either “sys” or “fields” properties of assets and entries. Each operation specifies a property name on the left-hand side, with a value to match on the right. For instance, using the .doesNotEqual operation in an a concrete Query like:

    Query(where:"fields.name", .doesNotEqual("Happy Cat"))
    

    would append the following to the http URL:

    "fields.name[ne]=Happy%20Cat"
    

    Refer to the documentation for the various Query classes for more information.

    See more

    Declaration

    Swift

    enum Operation