class Aws::AmplifyUIBuilder::Types::Predicate

Stores information for generating Amplify DataStore queries. Use a `Predicate` to retrieve a subset of the data in a collection.

@note When making an API call, you may pass Predicate

data as a hash:

    {
      and: [
        {
          and: {
            # recursive PredicateList
          },
          field: "String",
          operand: "String",
          operator: "String",
          or: {
            # recursive PredicateList
          },
        },
      ],
      field: "String",
      operand: "String",
      operator: "String",
      or: [
        {
          and: {
            # recursive PredicateList
          },
          field: "String",
          operand: "String",
          operator: "String",
          or: {
            # recursive PredicateList
          },
        },
      ],
    }

@!attribute [rw] and

A list of predicates to combine logically.
@return [Array<Types::Predicate>]

@!attribute [rw] field

The field to query.
@return [String]

@!attribute [rw] operand

The value to use when performing the evaluation.
@return [String]

@!attribute [rw] operator

The operator to use to perform the evaluation.
@return [String]

@!attribute [rw] or

A list of predicates to combine logically.
@return [Array<Types::Predicate>]

@see docs.aws.amazon.com/goto/WebAPI/amplifyuibuilder-2021-08-11/Predicate AWS API Documentation

Constants

SENSITIVE