Interface CfnComponent.IPredicateProperty
The Predicate property specifies information for generating Amplify DataStore queries.
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public interface IPredicateProperty
Syntax (vb)
Public Interface IPredicateProperty
Remarks
Use Predicate to retrieve a subset of the data in a collection.
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AmplifyUIBuilder;
PredicateProperty predicateProperty_;
var predicateProperty = new PredicateProperty {
And = new [] { new PredicateProperty {
And = new [] { predicateProperty_ },
Field = "field",
Operand = "operand",
Operator = "operator",
Or = new [] { predicateProperty_ }
} },
Field = "field",
Operand = "operand",
Operator = "operator",
Or = new [] { new PredicateProperty {
And = new [] { predicateProperty_ },
Field = "field",
Operand = "operand",
Operator = "operator",
Or = new [] { predicateProperty_ }
} }
};
Synopsis
Properties
| And | A list of predicates to combine logically. |
| Field | The field to query. |
| Operand | The value to use when performing the evaluation. |
| Operator | The operator to use to perform the evaluation. |
| Or | A list of predicates to combine logically. |
Properties
And
A list of predicates to combine logically.
virtual object And { get; }
Property Value
System.Object
Remarks
Field
The field to query.
virtual string Field { get; }
Property Value
System.String
Remarks
Operand
The value to use when performing the evaluation.
virtual string Operand { get; }
Property Value
System.String
Remarks
Operator
The operator to use to perform the evaluation.
virtual string Operator { get; }
Property Value
System.String
Remarks
Or
A list of predicates to combine logically.
virtual object Or { get; }
Property Value
System.Object