Predicate
Stores information for generating Amplify DataStore queries. Use a
Predicate
to retrieve a subset of the data in a collection.
Contents
- and
-
A list of predicates to combine logically.
Type: Array of Predicate objects
Required: No
- field
-
The field to query.
Type: String
Required: No
- operand
-
The value to use when performing the evaluation.
Type: String
Required: No
- operandType
-
The type of value to use when performing the evaluation.
Type: String
Pattern:
boolean|string|number
Required: No
- operator
-
The operator to use to perform the evaluation.
Type: String
Required: No
- or
-
A list of predicates to combine logically.
Type: Array of Predicate objects
Required: No
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: