Class CfnComponent.PredicateProperty
The Predicate
property specifies information for generating Amplify DataStore queries.
Inheritance
System.Object
CfnComponent.PredicateProperty
Implements
Namespace: Amazon.CDK.AWS.AmplifyUIBuilder
Assembly: Amazon.CDK.AWS.AmplifyUIBuilder.dll
Syntax (csharp)
public class PredicateProperty : Object, CfnComponent.IPredicateProperty
Syntax (vb)
Public Class PredicateProperty
Inherits Object
Implements CfnComponent.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
Constructors
PredicateProperty() |
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. |
Constructors
PredicateProperty()
public PredicateProperty()
Properties
And
A list of predicates to combine logically.
public object And { get; set; }
Property Value
System.Object
Remarks
Field
The field to query.
public string Field { get; set; }
Property Value
System.String
Remarks
Operand
The value to use when performing the evaluation.
public string Operand { get; set; }
Property Value
System.String
Remarks
Operator
The operator to use to perform the evaluation.
public string Operator { get; set; }
Property Value
System.String
Remarks
Or
A list of predicates to combine logically.
public object Or { get; set; }
Property Value
System.Object