Class QueryCondition
- Namespace
- Amazon.DynamoDBv2.DataModel
- Assembly
- AWSSDK.DynamoDBv2.dll
Class describing a single query condition
public class QueryCondition
- Inheritance
-
QueryCondition
- Inherited Members
Constructors
QueryCondition(string, QueryOperator, params object[])
Initializes a ScanCondition with the target property, the comparison operator and values being tested against.
public QueryCondition(string propertyName, QueryOperator op, params object[] values)
Parameters
propertyName
stringName of the property
op
QueryOperatorComparison operator
values
object[]Value(s) being tested against.
The values should be of the same type as the property. In the cases where the property is a collection, the values should be of the same type as the items in the collection.
Properties
Operator
Comparison operator
public QueryOperator Operator { get; set; }
Property Value
PropertyName
Name of the property being tested
public string PropertyName { get; set; }
Property Value
Values
Values being tested against.
The values should be of the same type as the property. In the cases where the property is a collection, the values should be of the same type as the items in the collection.
public object[] Values { get; set; }
Property Value
- object[]